MbPolygonCell Class Reference
[Cell]

MeshViz Build a polygonal cell. More...

#include <MeshVizXLM/mesh/cell/MbPolygonCell.h>

Inheritance diagram for MbPolygonCell:
MiSurfaceCell MiCell

List of all members.

Public Member Functions

template<typename _NodeIdIter >
 MbPolygonCell (_NodeIdIter beginId, _NodeIdIter endId)
double getArea (const MiGeometryI *meshGeometry) const
virtual size_t getNumEdges () const
virtual size_t getNumNodes () const
virtual size_t getNodeIndex (size_t nod) const
virtual bool isPointInsideCell (const MiGeometryI &meshGeometry, const MbVec3d &point, std::vector< double > &weights) const
virtual double getRelativeSize (const MiGeometryI *meshGeometry) const

Detailed Description

MeshViz Build a polygonal cell.


Constructor & Destructor Documentation

template<typename _NodeIdIter >
MbPolygonCell::MbPolygonCell ( _NodeIdIter  beginId,
_NodeIdIter  endId 
) [inline]

Construct a polygon defined by its list of indices.


Member Function Documentation

double MbPolygonCell::getArea ( const MiGeometryI meshGeometry  )  const [inline]

Gets the surface of the polygon.

size_t MbPolygonCell::getNodeIndex ( size_t  node  )  const [inline, virtual]

Gets the index (in the mesh) of a node.

Parameters:
[in] node Node number (where: 0 <= node < getNumNodes()).

Implements MiCell.

size_t MbPolygonCell::getNumEdges (  )  const [inline, virtual]

Gets the number of edges.

size_t MbPolygonCell::getNumNodes (  )  const [inline, virtual]

Gets the number of nodes.

Implements MiCell.

double MbPolygonCell::getRelativeSize ( const MiGeometryI meshGeometry  )  const [inline, virtual]

Gets the relative size of the cell.

Reimplemented from MiCell.

bool MbPolygonCell::isPointInsideCell ( const MiGeometryI meshGeometry,
const MbVec3d point,
std::vector< double > &  weights 
) const [inline, virtual]

Checks if a point is inside or outside a cell.

Reimplemented from MiCell.


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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/