GRASS 8 Programmer's Manual
8.6.0dev(2026)-8843f13794
Loading...
Searching...
No Matches
card.h
Go to the documentation of this file.
1
/****************************************************************************
2
* MODULE: R-Tree library
3
*
4
* AUTHOR(S): Antonin Guttman - original code
5
* Daniel Green (green@superliminal.com) - major clean-up
6
* and implementation of bounding spheres
7
* Markus Metz - file-based and memory-based R*-tree
8
*
9
* PURPOSE: Multidimensional index
10
*
11
* SPDX-FileCopyrightText: 2010 GRASS Development Team
12
* SPDX-License-Identifier: GPL-2.0-or-later
13
*****************************************************************************/
14
15
#ifndef __CARD__
16
#define __CARD__
17
18
/* balance criteria for node splitting */
19
/* NOTE: can be changed if needed but
20
* must be >= 2 and <= (t)->[nodecard|leafcard] / 2 */
21
#define MinNodeFill(t) ((t)->minfill_node_split)
22
#define MinLeafFill(t) ((t)->minfill_leaf_split)
23
24
#define MAXKIDS(level, t) ((level) > 0 ? (t)->nodecard : (t)->leafcard)
25
#define MINFILL(level, t) \
26
((level) > 0 ? (t)->minfill_node_split : (t)->minfill_leaf_split)
27
28
#endif
lib
vector
rtree
card.h
Generated on Tue Sep 15 2026 06:57:41 for GRASS 8 Programmer's Manual by
1.9.8