28#include <grass/dataquad.h>
29#include <grass/qtree.h>
106 int j = 0, i, k,
comp;
168 for (i = 1; i <= n_leafs; i++) {
203 for (
j = 0;
j < n_leafs;
j++) {
int MT_region_data(struct tree_info *info, struct multtree *tree, struct quaddata *data, int MAX, int n_leafs)
struct multtree * MT_tree_new(struct quaddata *data, struct multtree **leafs, struct multtree *parent, int multant)
int MT_divide(struct tree_info *info, struct multtree *tree, int n_leafs)
struct tree_info * MT_tree_info_new(struct multtree *root, struct multfunc *functions, double dmin, int kmax)
int MT_insert(struct triple *point, struct tree_info *info, struct multtree *tree, int n_leafs)
struct multfunc * MT_functions_new(int(*compare)(struct triple *, struct quaddata *), struct quaddata **(*divide_data)(struct quaddata *, int, double), int(*add_data)(struct triple *, struct quaddata *, double), int(*intersect)(struct quaddata *, struct quaddata *), int(*division_check)(struct quaddata *, int), int(*get_points)(struct quaddata *, struct quaddata *, int))
int(* compare)(struct triple *, struct quaddata *)
struct quaddata **(* divide_data)(struct quaddata *, int, double)
int(* division_check)(struct quaddata *, int)
int(* get_points)(struct quaddata *, struct quaddata *, int)
int(* add_data)(struct triple *, struct quaddata *, double)
int(* intersect)(struct quaddata *, struct quaddata *)
struct multfunc * functions