MeXSurfaceCell Class Reference
[Cell]

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

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

Inheritance diagram for MeXSurfaceCell:
MiSurfaceCell MiCell

List of all members.

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

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.

See related examples:

TutorialPicking8, TutorialPicking9


Member Function Documentation

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

Parameters:
[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...


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/