Interface MiTopologyExplicitI<C extends MiCell>
- Type Parameters:
C- the type of cells
- All Superinterfaces:
MiTopology,MiTopologyI
- All Known Subinterfaces:
MeXLineTopologyExplicitI<C>,MeXSurfaceTopologyExplicitI<C>,MiLineTopologyExplicitI<C>,MiSurfaceTopologyExplicitI<C>,MiVolumeTopologyExplicitI<C>
List of generic cells interface.
A generic interface for an unstructured explicit mesh topology.
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the first node id used by this topology.getCell(long id) Returns a cell of this topology.longReturns the last node id + 1 used by this topology.Methods inherited from interface com.openinventor.meshvizxlm.mesh.topology.MiTopology
getTimeStamp, hasDeadCellsMethods inherited from interface com.openinventor.meshvizxlm.mesh.topology.MiTopologyI
getNumCells, isDead
-
Method Details
-
getEndNodeId
long getEndNodeId()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 isgetEndNodeId() - 1and the number of nodes used by this topology isgetEndNodeId() - getBeginNodeId().- Returns:
- the last node id + 1 used by this topology
-
getCell
Returns a cell of this topology. The cell is identified by one id.- Parameters:
id- id of the cell- Returns:
- the cell identified by the specified id
-
getBeginNodeId
long getBeginNodeId()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 isgetEndNodeId() - 1and the number of nodes used by this topology isgetEndNodeId() - getBeginNodeId().- Returns:
- the first node id used by this topology
-