Build a set of lines.
More...
#include <MeshVizXLM/mesh/topology/MbLineCellsSet.h>
Public Member Functions | |
MbLineCellsSet () | |
virtual const MiLineCell * | 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) |
MbLineCellsSet::MbLineCellsSet | ( | ) | [inline] |
Construct an empty set of lines.
void MbLineCellsSet::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 2.
virtual size_t MbLineCellsSet::getBeginNodeId | ( | ) | const [inline, virtual] |
Returns the first node index in this line geometry.
Reimplemented from MiTopologyExplicitI.
const MiLineCell * MbLineCellsSet::getCell | ( | size_t | cellId | ) | const [inline, virtual] |
Returns the i-th cell of this set.
Implements MiLineTopologyExplicitI.
virtual size_t MbLineCellsSet::getEndNodeId | ( | ) | const [inline, virtual] |
Returns the end node index in this line geometry.
Implements MiTopologyExplicitI.
size_t MbLineCellsSet::getNumCells | ( | ) | const [inline, virtual] |
Returns the number of cells in the set.
Implements MiTopologyI.