Home | nevrax.com |
|
NL3D::CStaticQuadGrid Class Template ReferenceThis class is builded from a CQuadGrid, and is to be used when: sizeof(T) is small (ie a pointer) no dynamic insertion are made (builded from a CQuadGrid) selection is made with a point, not a BBox. More...
Detailed Descriptiontemplate<class T>
This class is builded from a CQuadGrid, and is to be used when: sizeof(T) is small (ie a pointer) no dynamic insertion are made (builded from a CQuadGrid) selection is made with a point, not a BBox.
|
|
Constructor.
Definition at line 146 of file static_quad_grid.h. References _ChangeBasis, _EltSize, _Grid, _Size, _SizePower, and NLMISC::CMatrix::identity. |
|
dtor.
Definition at line 156 of file static_quad_grid.h. References clear. |
|
build from a CQuadGrid. Elements are copied, not referenced Elements may be duplicated in all cells they lie into. quadGrid selection is cleared Definition at line 181 of file static_quad_grid.h. References _ChangeBasis, _Elements, _EltSize, _Grid, _Size, _SizePower, clear, NLMISC::contReset, NLMISC::getPowerOf2, NLMISC::CMatrix::inverted, x, and y. |
|
Clear all the container. Elements are deleted, and the quadgrid is erased. Definition at line 164 of file static_quad_grid.h. References _ChangeBasis, _Elements, _EltSize, _Grid, _Size, _SizePower, and NLMISC::CMatrix::identity. Referenced by build, and ~CStaticQuadGrid. |
|
Select elements at a given point Speed is in O(1), because the array of the cell is returned. NULL if size==0.
Definition at line 269 of file static_quad_grid.h. References _ChangeBasis, _Grid, _Size, selectPoint, x, and y. |
|
Definition at line 114 of file static_quad_grid.h. Referenced by select. |
|
Definition at line 110 of file static_quad_grid.h. Referenced by build, clear, CStaticQuadGrid, and select. |
|
Definition at line 105 of file static_quad_grid.h. |
|
Definition at line 109 of file static_quad_grid.h. Referenced by build, clear, CStaticQuadGrid, and NL3D::CStaticQuadGrid< const CTriangle * >::selectPoint. |
|
Definition at line 106 of file static_quad_grid.h. Referenced by build, clear, CStaticQuadGrid, and select. |
|
Definition at line 107 of file static_quad_grid.h. Referenced by build, clear, CStaticQuadGrid, select, and NL3D::CStaticQuadGrid< const CTriangle * >::selectPoint. |
|
Definition at line 108 of file static_quad_grid.h. Referenced by build, clear, and CStaticQuadGrid. |