#include "util/areastore.h"#include "util/serialize.h"#include "util/container.h"#include <spatialindex/SpatialIndex.h>#include <spatialindex/RTree.h>#include <spatialindex/Point.h>
Include dependency graph for areastore.cpp:Macros | |
| #define | AST_SMALLER_EQ_AS(p, q) (((p).X <= (q).X) && ((p).Y <= (q).Y) && ((p).Z <= (q).Z)) |
| #define | AST_OVERLAPS_IN_DIMENSION(amine, amaxe, b, d) (!(((amine).d > (b)->maxedge.d) || ((amaxe).d < (b)->minedge.d))) |
| #define | AST_CONTAINS_PT(a, p) |
| #define | AST_CONTAINS_AREA(amine, amaxe, b) |
| #define | AST_AREAS_OVERLAP(amine, amaxe, b) |
Functions | |
| static SpatialIndex::Region | get_spatial_region (const v3s16 minedge, const v3s16 maxedge) |
| static SpatialIndex::Point | get_spatial_point (const v3s16 pos) |
| #define AST_AREAS_OVERLAP | ( | amine, | |
| amaxe, | |||
| b ) |
Referenced by VectorAreaStore::getAreasInArea().
| #define AST_CONTAINS_AREA | ( | amine, | |
| amaxe, | |||
| b ) |
Referenced by VectorAreaStore::getAreasInArea().
| #define AST_CONTAINS_PT | ( | a, | |
| p ) |
Referenced by AreaStore::getAreasForPos(), and VectorAreaStore::getAreasForPosImpl().
| #define AST_OVERLAPS_IN_DIMENSION | ( | amine, | |
| amaxe, | |||
| b, | |||
| d ) (!(((amine).d > (b)->maxedge.d) || ((amaxe).d < (b)->minedge.d))) |
|
inlinestatic |
References p().
Referenced by SpatialAreaStore::getAreasForPosImpl().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Referenced by SpatialAreaStore::getAreasInArea(), SpatialAreaStore::insertArea(), and SpatialAreaStore::removeArea().
Here is the caller graph for this function: