Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
MeXSurfaceCell Class Referenceabstract

MeshViz Defines an abstract cell of an extracted surface mesh. More...

#include <MeshVizXLM/extrmesh/cell/MeXSurfaceCell.h>

+ Inheritance diagram for MeXSurfaceCell:

Public Member Functions

virtual size_t getNumEdges () const =0
 Gets the number of edges.
 
virtual double getArea (const MiGeometryI *meshGeometry) const =0
 Gets the area of the cell.
 
virtual MbVec3d getNormal (const MiGeometryI *meshGeometry) const =0
 Gets the unit normal vector to the surface's plane.
 
- Public Member Functions inherited from MiSurfaceCell
virtual size_t getSubTriangleNodesIndex (std::vector< size_t > &triangleNodeIds) const
 Get a decomposition of this surface cell into sub triangles.
 
- Public Member Functions inherited from MiCell
virtual ~MiCell ()
 Virtual destructor.
 
virtual size_t getNumNodes () const =0
 Gets the number of nodes.
 
virtual size_t getNodeIndex (size_t node) const =0
 Gets the index (in the mesh) of a node.
 
virtual double getRelativeSize (const MiGeometryI *meshGeometry) const
 Gets the relative size of the cell.
 
virtual void getWeight (const MbVec3d &ipcoord, std::vector< double > &weight) const
 Gets the weights of a point defined by its iso parametric coordinates.
 
virtual MbVec3d getIsoParametricCoord (size_t nodeIndex) const
 Gets the iso parametric coordinates of a cell's node.
 
virtual MbVec3d getCenter (const MiGeometryI &geometry) const
 Gets the center of the cell.
 
virtual bool isPointInsideCell (const MiGeometryI &meshGeometry, const MbVec3d &point, std::vector< double > &weights) const
 Checks if a point is inside or outside a cell.
 

Additional Inherited Members

- Protected Member Functions inherited from MiCell
virtual std::ostream & toStream (std::ostream &s) const
 Performs an output operation on a stream which is returned afterward.
 

Detailed Description

MeshViz Defines an abstract cell of an extracted surface mesh.

A surface cell is a polygon element that connects adjacent nodes of a surface mesh.

Definition at line 44 of file MeXSurfaceCell.h.

Member Function Documentation

◆ getArea()

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.

Parameters
[in]meshGeometryThe geometry of the mesh. Used to retrieve the node coordinates of this cell.

◆ getNormal()

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.

Parameters
[in]meshGeometryThe geometry of the mesh. Used to retrieve the node coordinates of this cell.

◆ getNumEdges()

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...


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