xc
|
Shadows of the entities on the coordinate axis used for spatial indexing. More...
#include <DqPtrsEntities.h>
Public Member Functions | |
EntitiesShadows (const DqPtrsEntities< T > &) | |
Constructor. More... | |
void | add (T *) |
Add entity to the interval map. | |
void | remove (T *) |
Remove entity from the interval map. | |
std::set< T * > | getNeighbors (const Pos3d &pMin, const Pos3d &pMax) const |
Return the objects whose "shadow" overlaps whith the interval argument. | |
Protected Attributes | |
shadow_interval_map | x_shadows |
shadow_interval_map | y_shadows |
shadow_interval_map | z_shadows |
Shadows of the entities on the coordinate axis used for spatial indexing.
XC::EntitiesShadows< T >::EntitiesShadows | ( | const DqPtrsEntities< T > & | entities | ) |
Constructor.
Compute the shadows of the entities on the axis. We call "shadows" the (xmin, xmax), (ymin_ymax), (zmin,zmax) intervals obtained from the object boudary box.