Generic parallelepiped, rectangular or straight line geometry. More...
#include <MeshVizXLM/mesh/geometry/MiGeometryRegular.h>
Public Member Functions | |
virtual MbVec3d | getMin () const =0 |
Returns the minimum value of this set. | |
virtual MbVec3d | getMax () const =0 |
Returns the maximum value of this set. | |
Public Member Functions inherited from MiGeometry | |
virtual | ~MiGeometry () |
virtual size_t | getTimeStamp () const =0 |
Returns for this geometry a unique time stamp across all geometries in the application. | |
Protected Member Functions | |
virtual std::ostream & | toStream (std::ostream &s) const |
Performs an output operation on a stream which is returned afterward. | |
Generic parallelepiped, rectangular or straight line geometry.
A generic abstract interface for a parallelepiped geometry, a rectangle geometry or a straight line geometry. The geometry is given by two points defining two extremities. (see getMin() and getMax()).
Definition at line 40 of file MiGeometryRegular.h.
|
pure virtual |
Returns the maximum value of this set.
Reimplemented from MiGeometry.
Implemented in MeXGeometryRegular.
|
pure virtual |
Returns the minimum value of this set.
Reimplemented from MiGeometry.
Implemented in MeXGeometryRegular.
|
inlineprotectedvirtual |
Performs an output operation on a stream which is returned afterward.
This method is protected since only called by the output operator <<. This method is not pure virtual and output by default the geometry and topology of a mesh. Whenever a different output is needed, this method can be implemented in the subclass to get a different output format. No std::ostream& operator << needs to be defined in any subclass. This allows you to benefit from the virtual inheritance when using the output operator on an abstract class.
Reimplemented from MiGeometry.
Definition at line 56 of file MiGeometryRegular.h.