Generic parallelepiped, rectangular or straight line geometry. More...
#include <MeshVizXLM/mesh/geometry/MiGeometryRegular.h>
Public Member Functions | |
virtual MbVec3d | getMin () const =0 |
virtual MbVec3d | getMax () const =0 |
Protected Member Functions | |
virtual std::ostream & | toStream (std::ostream &s) const |
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()).
MyLineMeshRegular, MySurfaceMeshRegular, MyVolumeMeshRegular
virtual MbVec3d MiGeometryRegular::getMax | ( | ) | const [pure virtual] |
Returns the maximum value of this set.
Reimplemented from MiGeometry.
Implemented in MeXGeometryRegular.
virtual MbVec3d MiGeometryRegular::getMin | ( | ) | const [pure virtual] |
Returns the minimum value of this set.
Reimplemented from MiGeometry.
Implemented in MeXGeometryRegular.
virtual std::ostream& MiGeometryRegular::toStream | ( | std::ostream & | s | ) | const [inline, protected, virtual] |
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.