PLaSK library
|
Instances of this template represents all internal nodes of cache. More...
Public Member Functions | |
InternalCacheNode (const double &offset, SpatialIndexNode< DIMS > *lo, SpatialIndexNode< DIMS > *hi) | |
shared_ptr< Material > | getMaterial (const Vec< DIMS > &p) const override |
bool | contains (const Vec< DIMS > &p) const override |
GeometryObject::Subtree | getPathsAt (shared_ptr< const GeometryObject > caller, const Vec< DIMS > &p, bool all) const override |
virtual | ~InternalCacheNode () |
Public Member Functions inherited from plask::SpatialIndexNode< DIMS > | |
virtual | ~SpatialIndexNode () |
Public Attributes | |
double | offset |
split coordinate | |
SpatialIndexNode< DIMS > * | lo |
contains all objects which has lower coordinate < offset | |
SpatialIndexNode< DIMS > * | hi |
contains all objects which has higher coordinate >= offset | |
Instances of this template represents all internal nodes of cache.
Definition at line 122 of file spatial_index.cpp.
|
inline |
Definition at line 128 of file spatial_index.cpp.
|
inlinevirtual |
Definition at line 144 of file spatial_index.cpp.
|
inlineoverridevirtual |
Implements plask::SpatialIndexNode< DIMS >.
Definition at line 136 of file spatial_index.cpp.
|
inlineoverridevirtual |
Implements plask::SpatialIndexNode< DIMS >.
Definition at line 132 of file spatial_index.cpp.
|
inlineoverridevirtual |
Implements plask::SpatialIndexNode< DIMS >.
Definition at line 140 of file spatial_index.cpp.
SpatialIndexNode<DIMS>* plask::InternalCacheNode< DIMS, dir >::hi |
contains all objects which has higher coordinate >= offset
Definition at line 126 of file spatial_index.cpp.
SpatialIndexNode<DIMS>* plask::InternalCacheNode< DIMS, dir >::lo |
contains all objects which has lower coordinate < offset
Definition at line 125 of file spatial_index.cpp.
double plask::InternalCacheNode< DIMS, dir >::offset |
split coordinate
Definition at line 124 of file spatial_index.cpp.