MiGeometryRegular Class Reference

MeshViz Generic parallelepiped, rectangular or straight line geometry. More...

#include <MeshVizXLM/mesh/geometry/MiGeometryRegular.h>

Inheritance diagram for MiGeometryRegular:
MiGeometry MbGeometryRegular< _T > MeXGeometryRegular MyGeometryRegular MyGeometryRegular MyGeometryRegular

List of all members.

Public Member Functions

virtual MbVec3d getMin () const =0
virtual MbVec3d getMax () const =0

Protected Member Functions

virtual std::ostream & toStream (std::ostream &s) const

Detailed Description

MeshViz 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()).

See related examples:

MyLineMeshRegular, MySurfaceMeshRegular, MyVolumeMeshRegular

Member Function Documentation

virtual MbVec3d MiGeometryRegular::getMax (  )  const [pure virtual]
virtual MbVec3d MiGeometryRegular::getMin (  )  const [pure virtual]
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.

The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 24 Mar 2020
Copyright © Thermo Fisher Scientific All rights reserved.