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
card.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
#ifndef __CARD__
19
#define __CARD__
20
21
extern
int
NODECARD
;
22
extern
int
LEAFCARD
;
23
24
/* balance criteria for node splitting */
25
/* NOTE: can be changed if needed. */
26
#define MinNodeFill (NODECARD / 2)
27
#define MinLeafFill (LEAFCARD / 2)
28
29
#define MAXKIDS(n) ((n)->level > 0 ? NODECARD : LEAFCARD)
30
#define MINFILL(n) ((n)->level > 0 ? MinNodeFill : MinLeafFill)
31
32
#endif
LEAFCARD
int LEAFCARD
Definition:
card.c:22
NODECARD
int NODECARD
Definition:
card.c:21
lib
vector
rtree
card.h
Generated on Sat Jan 2 2016 01:46:47 for GRASS Programmer's Manual by
1.8.5