Class defining the surface topology of the mesh. More...
#include <MeshVizXLM/mesh/templates/MySurfaceMeshUnstructured.h>
Public Member Functions | |
size_t | getNumCells () const |
bool | hasDeadCells () const |
bool | isDead (size_t i) const |
const MiSurfaceCell * | getCell (size_t id) const |
size_t | getEndNodeId () const |
size_t | getBeginNodeId () const |
size_t | getTimeStamp () const |
Class defining the surface topology of the mesh.
size_t MySurfaceTopologyExplicitI::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().
Reimplemented from MiTopologyExplicitI.
const MiSurfaceCell* MySurfaceTopologyExplicitI::getCell | ( | size_t | id | ) | const [inline, virtual] |
Returns a cell of this topology.
The cell is identified by one id.
Implements MiSurfaceTopologyExplicitI.
size_t MySurfaceTopologyExplicitI::getEndNodeId | ( | ) | const [inline, 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().
Implements MiTopologyExplicitI.
size_t MySurfaceTopologyExplicitI::getNumCells | ( | ) | const [inline, virtual] |
Returns the number of cells.
Implements MiTopologyI.
size_t MySurfaceTopologyExplicitI::getTimeStamp | ( | ) | const [inline, virtual] |
Returns a time stamp on this topology.
Implements MiTopology.
bool MySurfaceTopologyExplicitI::hasDeadCells | ( | ) | const [inline, virtual] |
Returns true if the topology contains dead cells.
When false, the cells traversal can be optimized by not testing the isDead() method of each individual cells.
Reimplemented from MiTopology.
bool MySurfaceTopologyExplicitI::isDead | ( | size_t | i | ) | const [inline, virtual] |
Returns true if the cell of index i should be ignored.
This value is ignored if the hasDeadCell() method returns false.
i | the index of the cell to check |
Reimplemented from MiTopologyI.