Regular surface mesh abstract interface. More...
#include <MeshVizXLM/mesh/MiSurfaceMeshRegular.h>
Protected Member Functions | |
virtual std::ostream & | toStream (std::ostream &s) const |
This interface defines a regular surface mesh. It is a rectangular surface subdivided into rectangular cells. All cells have the same size. The geometry of this rectangle is given by getMin() and getMax() inherited from MiMeshRegular::getGeometry(). The number of cells on each axis is given by getNumCellsI(), and getNumCellsJ() inherited from MiMeshIj::getTopology().
MiSurfaceMeshCurvilinear, MiSurfaceMeshRectilinear, MiSurfaceMeshUnstructured
virtual std::ostream& MiSurfaceMeshRegular::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.
Implements MiMesh.