MiGeometryRegular Class Reference
[Geometry]

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

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

Inheritance diagram for MiGeometryRegular:
MiGeometry MeXGeometryRegular

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]

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.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/