16 #include <grass/dataquad.h>
17 #include <grass/qtree.h>
93 int j = 0, i, k, comp;
96 fprintf(stderr,
"insert: tree is NULL\n");
100 fprintf(stderr,
"insert: tree->data is NULL\n");
107 if ((comp < 1) || (comp > n_leafs))
120 j =
MT_insert(point, info, tree, n_leafs);
125 fprintf(stderr,
"Point out of range!\n");
148 fprintf(stderr,
"datas is NULL\n");
153 for (i = 1; i <= n_leafs; i++) {
177 fprintf(stderr,
"MT_region_data: tree is NULL\n");
181 fprintf(stderr,
"MT_region_data: data is NULL\n");
186 for (j = 0; j < n_leafs; j++) {