Build a set of polygons.
More...
#include <MeshVizXLM/mesh/topology/MbPolygonCellsSet.h>
Public Member Functions | |
MbPolygonCellsSet () | |
virtual const MbPolygonCell * | getCell (size_t cellId) const |
virtual size_t | getNumCells () const |
virtual size_t | getBeginNodeId () const |
virtual size_t | getEndNodeId () const |
template<typename _NodeIdIter , typename _numNodeIter > | |
void | assign (_NodeIdIter beginId, _NodeIdIter endId, _numNodeIter beginNum, _numNodeIter endNum) |
MbPolygonCellsSet::MbPolygonCellsSet | ( | ) | [inline] |
Construct an empty set of polygons.
void MbPolygonCellsSet::assign | ( | _NodeIdIter | beginId, | |
_NodeIdIter | endId, | |||
_numNodeIter | beginNum, | |||
_numNodeIter | endNum | |||
) | [inline] |
Defines a new list of polygons according to their indices and number of nodes.
Thus distance(endNum-beginNum) is the number of polygons.
virtual size_t MbPolygonCellsSet::getBeginNodeId | ( | ) | const [inline, virtual] |
Returns the first node index in this polygonal geometry.
Reimplemented from MiTopologyExplicitI.
const MbPolygonCell * MbPolygonCellsSet::getCell | ( | size_t | cellId | ) | const [inline, virtual] |
Returns the i-th cell of this set.
Implements MiSurfaceTopologyExplicitI.
virtual size_t MbPolygonCellsSet::getEndNodeId | ( | ) | const [inline, virtual] |
Returns the number of nodes in this tetra list.
Implements MiTopologyExplicitI.
size_t MbPolygonCellsSet::getNumCells | ( | ) | const [inline, virtual] |
Returns the number of cells in the set.
Implements MiTopologyI.