GRASS Programmer's Manual
6.5.svn(2014)-r66266
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
];
Partitions
struct PartitionVars Partitions[METHODS]
Definition:
split_q.c:30
CoverSplit
struct Rect CoverSplit
Definition:
split_q.c:26
BranchBuf
struct Branch BranchBuf[MAXCARD+1]
Definition:
split_q.c:24
RectReal
double RectReal
Definition:
index.h:25
PartitionVars::taken
int taken[MAXCARD+1]
Definition:
split_q.h:27
PartitionVars::minfill
int minfill
Definition:
split_q.h:26
BranchCount
int BranchCount
Definition:
split_q.c:25
PartitionVars::partition
int partition[MAXCARD+1]
Definition:
split_q.h:25
PartitionVars::cover
struct Rect cover[2]
Definition:
split_q.h:29
Branch
Definition:
index.h:47
PartitionVars::area
RectReal area[2]
Definition:
split_q.h:30
CoverSplitArea
RectReal CoverSplitArea
Definition:
split_q.c:27
PartitionVars
Definition:
split_q.h:24
PartitionVars::count
int count[2]
Definition:
split_q.h:28
PartitionVars::total
int total
Definition:
split_q.h:26
Rect
Definition:
index.h:40
METHODS
#define METHODS
Definition:
split_q.h:22
MAXCARD
#define MAXCARD
Definition:
index.h:54
lib
vector
rtree
split_q.h
Generated on Sat Jan 2 2016 01:46:49 for GRASS Programmer's Manual by
1.8.5