/usr/lib/grass64/include/grass/qtree.h is in grass-dev 6.4.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | /*-
* Written by H. Mitasova, I. Kosinovsky, D. Gerdes Fall 1993
* University of Illinois
* US Army Construction Engineering Research Lab
* Copyright 1993, H. Mitasova (University of Illinois),
* I. Kosinovsky, (USA-CERL), and D.Gerdes (USA-CERL)
*
* updated by Mitasova Nov. 96, no changes necessary
*/
#ifndef TREE_H
#define TREE_H
#define VOID_T char
struct multfunc
{
int (*compare) ();
struct quaddata **(*divide_data) ();
int (*add_data) ();
int (*intersect) ();
int (*division_check) ();
int (*get_points) ();
};
struct tree_info
{
struct multfunc *functions;
double dmin;
int kmax;
struct multtree *root;
};
struct multtree
{
struct quaddata *data;
struct multtree **leafs;
struct multtree *parent;
int multant;
};
struct multfunc *MT_functions_new(int (*)(struct triple *, struct quaddata *),
struct quaddata **(*)(struct quaddata *,
int, double),
int (*)(struct triple *, struct quaddata *,
double), int (*)(struct quaddata *,
struct quaddata *),
int (*)(struct quaddata *, int),
int (*)(struct quaddata *,
struct quaddata *, int));
struct tree_info *MT_tree_info_new(struct multtree *, struct multfunc *,
double, int);
struct multtree *MT_tree_new(struct quaddata *, struct multtree **,
struct multtree *, int);
int MT_insert(struct triple *, struct tree_info *, struct multtree *, int);
int MT_divide(struct tree_info *, struct multtree *, int);
int MT_region_data(struct tree_info *, struct multtree *, struct quaddata *,
int, int);
#endif
|