List of generic cells interface. More...
#include <MeshVizXLM/mesh/topology/MiTopologyExplicitI.h>
Public Member Functions | |
virtual const MiCell * | getCell (size_t id) const |
virtual size_t | getEndNodeId () const =0 |
virtual size_t | getBeginNodeId () const |
A generic abstract interface for an unstructured explicit mesh topology.
virtual size_t MiTopologyExplicitI::getBeginNodeId | ( | ) | const [inline, virtual] |
Returns the first node id used by this topology.
This topology uses only node index in the interval [beginNodeId,EndNodeId[. Thus the maximum node index used by the topology is getEndNodeId() - 1 and the number of nodes used by this topology is getEndNodeId() - getBeginNodeId(). This default implementation returns 0.
virtual const MiCell* MiTopologyExplicitI::getCell | ( | size_t | id | ) | const [inline, virtual] |
Returns a cell of this topology.
The cell is identified by one id.
Reimplemented in MeXLineTopologyExplicitI, MeXSurfaceTopologyExplicitI, MeXVolumeTopologyExplicitI, MiLineTopologyExplicitI, MiSurfaceTopologyExplicitI, and MiVolumeTopologyExplicitI.
virtual size_t MiTopologyExplicitI::getEndNodeId | ( | ) | const [pure virtual] |
Returns the last node id + 1 used by this topology.
This topology uses only node index in the interval [beginNodeId,EndNodeId[. Thus the maximum node index used by the topology is getEndNodeId() - 1 and the number of nodes used by this topology is getEndNodeId() - getBeginNodeId().