|
GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>#include <stdlib.h>#include "assert.h"#include "index.h"#include <float.h>#include <math.h>#include <grass/gis.h>
Go to the source code of this file.
Macros | |
| #define | BIG_NUM (FLT_MAX/4.0) |
| #define | Undefined(x) ((x)->boundary[0] > (x)->boundary[NUMDIMS]) |
| #define | MIN(a, b) ((a) < (b) ? (a) : (b)) |
| #define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
| #define | UnitSphereVolume UnitSphereVolumes[NUMDIMS] |
Functions | |
| void | RTreeInitRect (struct Rect *R) |
| struct Rect | RTreeNullRect (void) |
| void | RTreePrintRect (struct Rect *R, int depth) |
| RectReal | RTreeRectVolume (struct Rect *R) |
| RectReal | RTreeRectSphericalVolume (struct Rect *R) |
| RectReal | RTreeRectSurfaceArea (struct Rect *R) |
| struct Rect | RTreeCombineRect (struct Rect *R, struct Rect *Rr) |
| int | RTreeOverlap (struct Rect *R, struct Rect *S) |
| int | RTreeContained (struct Rect *R, struct Rect *S) |
Variables | |
| const double | UnitSphereVolumes [] |
Definition at line 32 of file rect.c.
Referenced by RTreeCombineRect().
Definition at line 31 of file rect.c.
Referenced by RTreeCombineRect().
| #define Undefined | ( | x | ) | ((x)->boundary[0] > (x)->boundary[NUMDIMS]) |
Definition at line 30 of file rect.c.
Referenced by RTreeCombineRect(), RTreeContained(), RTreeRectSphericalVolume(), RTreeRectSurfaceArea(), and RTreeRectVolume().
| #define UnitSphereVolume UnitSphereVolumes[NUMDIMS] |
Definition at line 218 of file rect.c.
Referenced by RTreeRectSphericalVolume().
Definition at line 305 of file rect.c.
References Rect::boundary, MAX, MIN, NUMDIMS, r, and Undefined.
Referenced by RTreeNodeCover(), and RTreePickBranch().
Definition at line 352 of file rect.c.
References Rect::boundary, FALSE, NUMDIMS, dialogs::s, TRUE, and Undefined.
| void RTreeInitRect | ( | struct Rect * | R | ) |
Definition at line 38 of file rect.c.
References Rect::boundary, NUMSIDES, and r.
Referenced by RTreeNodeCover().
| struct Rect RTreeNullRect | ( | void | ) |
Definition at line 52 of file rect.c.
References Rect::boundary, NUMDIMS, and r.
Definition at line 331 of file rect.c.
References Rect::boundary, FALSE, NUMDIMS, dialogs::s, and TRUE.
Referenced by RTreeSearch().
Definition at line 130 of file rect.c.
References Rect::boundary, NUMDIMS, and RTreeTabIn().
Definition at line 253 of file rect.c.
References Rect::boundary, NUMDIMS, Undefined, and UnitSphereVolume.
Referenced by RTreePickBranch().
Definition at line 275 of file rect.c.
References Rect::boundary, NUMDIMS, and Undefined.
Definition at line 148 of file rect.c.
References Rect::boundary, NUMDIMS, and Undefined.
| const double UnitSphereVolumes[] |