Generic parallelepiped, rectangular or straight line geometry.
More...
#include <MeshVizXLM/mesh/geometry/MbGeometryRegular.h>
Public Member Functions | |
MbGeometryRegular (MbVec3< _T > min, MbVec3< _T > max) | |
MbGeometryRegular (_T xmin, _T ymin, _T zmin, _T xmax, _T ymax, _T zmax) | |
virtual MbVec3d | getMin () const |
virtual MbVec3d | getMax () const |
The geometry is given by 2 points defining 2 extremities.
MbGeometryRegular< _T >::MbGeometryRegular | ( | MbVec3< _T > | min, | |
MbVec3< _T > | max | |||
) | [inline] |
Constructor.
MbGeometryRegular< _T >::MbGeometryRegular | ( | _T | xmin, | |
_T | ymin, | |||
_T | zmin, | |||
_T | xmax, | |||
_T | ymax, | |||
_T | zmax | |||
) | [inline] |
virtual MbVec3d MbGeometryRegular< _T >::getMax | ( | ) | const [inline, virtual] |
Return the max point of this parallelepiped.
Implements MiGeometryRegular.
virtual MbVec3d MbGeometryRegular< _T >::getMin | ( | ) | const [inline, virtual] |
Return the min point of this parallelepiped.
Implements MiGeometryRegular.