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