Defines an abstract cell of an extracted surface mesh. More...
#include <MeshVizXLM/extrmesh/cell/MeXSurfaceCell.h>
Public Member Functions | |
virtual size_t | getNumEdges () const =0 |
virtual double | getArea (const MiGeometryI *meshGeometry) const =0 |
virtual MbVec3d | getNormal (const MiGeometryI *meshGeometry) const =0 |
A surface cell is a polygon element that connects adjacent nodes of a surface mesh.
virtual double MeXSurfaceCell::getArea | ( | const MiGeometryI * | meshGeometry | ) | const [pure virtual] |
Gets the area of the cell.
An application does not need to override this method.
[in] | meshGeometry | The geometry of the mesh. Used to retrieve the node coordinates of this cell. |
virtual MbVec3d MeXSurfaceCell::getNormal | ( | const MiGeometryI * | meshGeometry | ) | const [pure virtual] |
Gets the unit normal vector to the surface's plane.
An application does not need to override this method.
[in] | meshGeometry | The geometry of the mesh. Used to retrieve the node coordinates of this cell. |
virtual size_t MeXSurfaceCell::getNumEdges | ( | ) | const [pure virtual] |
Gets the number of edges.
For non linear cell, the number of edges is independent of the order of the cell. For instance, getNumEdges will always return 3 for a linear triangle cell, a quadratic triangle cell, a cubic triangle cell etc...