Build a quadrangle cell set.
More...
#include <MeshVizXLM/mesh/topology/MbQuadrangleCellsSet.h>
Public Member Functions | |
MbQuadrangleCellsSet () | |
virtual const MbQuadrangleCell * | getCell (size_t cellId) const |
virtual size_t | getNumCells () const |
virtual size_t | getBeginNodeId () const |
virtual size_t | getEndNodeId () const |
template<typename _NodeIdIter > | |
void | assign (_NodeIdIter beginId, _NodeIdIter endId) |
MbQuadrangleCellsSet::MbQuadrangleCellsSet | ( | ) | [inline] |
Construct an empty set of quadrangle.
void MbQuadrangleCellsSet::assign | ( | _NodeIdIter | beginId, | |
_NodeIdIter | endId | |||
) | [inline] |
Defines a new list of quadrangle according to their indices.
Thus distance(endId-beginId) should be a multiple of 4.
virtual size_t MbQuadrangleCellsSet::getBeginNodeId | ( | ) | const [inline, virtual] |
Returns the first node index in this quadrangle list.
Reimplemented from MiTopologyExplicitI.
const MbQuadrangleCell * MbQuadrangleCellsSet::getCell | ( | size_t | cellId | ) | const [inline, virtual] |
Returns the i-th cell of this set.
Implements MiSurfaceTopologyExplicitI.
virtual size_t MbQuadrangleCellsSet::getEndNodeId | ( | ) | const [inline, virtual] |
Returns the end node index in this quadrangle list.
Implements MiTopologyExplicitI.
size_t MbQuadrangleCellsSet::getNumCells | ( | ) | const [inline, virtual] |
Returns the number of cells in the set.
Implements MiTopologyI.