GRASS Programmer's Manual
6.4.2(2012)
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
split_q.h
Go to the documentation of this file.
1
2
/****************************************************************************
3
* MODULE: R-Tree library
4
*
5
* AUTHOR(S): Antonin Guttman - original code
6
* Daniel Green (green@superliminal.com) - major clean-up
7
* and implementation of bounding spheres
8
*
9
* PURPOSE: Multidimensional index
10
*
11
* COPYRIGHT: (C) 2001 by the GRASS Development Team
12
*
13
* This program is free software under the GNU General Public
14
* License (>=v2). Read the file COPYING that comes with GRASS
15
* for details.
16
*****************************************************************************/
17
18
/*-----------------------------------------------------------------------------
19
| Definitions and global variables.
20
-----------------------------------------------------------------------------*/
21
22
#define METHODS 1
23
24
struct
PartitionVars
{
25
int
partition
[
MAXCARD
+ 1];
26
int
total
,
minfill
;
27
int
taken
[
MAXCARD
+ 1];
28
int
count
[2];
29
struct
Rect
cover
[2];
30
RectReal
area
[2];
31
};
32
33
extern
struct
Branch
BranchBuf
[
MAXCARD
+ 1];
34
extern
int
BranchCount
;
35
extern
struct
Rect
CoverSplit
;
36
extern
RectReal
CoverSplitArea
;
37
38
/* variables for finding a partition */
39
extern
struct
PartitionVars
Partitions
[
METHODS
];
lib
vector
rtree
split_q.h
Generated on Sun Sep 9 2012 18:55:35 for GRASS Programmer's Manual by
1.8.1.2