24#ifndef _PB_REGULAR_MESH1D_
25#define _PB_REGULAR_MESH1D_
82 {
return !(m1 == m2); }
102 virtual void print(FILE *fp)
const;
105 virtual inline float getXCoord(
int nodeIndex)
const ;
107 virtual void updateBoundingBox()
const;
112 float m_xMin, m_xMax, m_dx ;
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an abstract mono...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a regular mono-d...
PbRegularMesh1D(int numX, float xmin, float xmax)
Constructor with geometry.
friend int operator==(const PbRegularMesh1D &m1, const PbRegularMesh1D &m2)
Equality comparison operator.
~PbRegularMesh1D()
Destructor.
PbRegularMesh1D(const PbRegularMesh1D &mesh)
Copy constructor.
void getGeometry(int &numX, float &xmin, float &xmax) const
Gets the mesh geometry.
PbRegularMesh1D()
Constructor.
friend int operator!=(const PbRegularMesh1D &m1, const PbRegularMesh1D &m2)
Inequality comparison operator.
virtual SbVec3f getNodeCoord(int nod_index) const
Gets the coordinates of a node.
void setGeometry(int numX, float xmin, float xmax)
Defines a new geometry.
PbRegularMesh1D & operator=(const PbRegularMesh1D &mesh)
Assignment operator.