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>
public interface MiTopologyExplicitI<C extends MiCell> extends MiTopologyI
List of generic cells interface.A generic interface for an unstructured explicit mesh topology.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBeginNodeId()
Returns the first node id used by this topology.C
getCell(long id)
Returns a cell of this topology.long
getEndNodeId()
Returns the last node id + 1 used by this topology.-
Methods inherited from interface com.openinventor.meshvizxlm.mesh.topology.MiTopology
getTimeStamp, hasDeadCells
-
Methods inherited from interface com.openinventor.meshvizxlm.mesh.topology.MiTopologyI
getNumCells, isDead
-
-
-
-
Method Detail
-
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() - 1
and the number of nodes used by this topology isgetEndNodeId() - getBeginNodeId()
.- Returns:
- the last node id + 1 used by this topology
-
getCell
C getCell(long id)
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() - 1
and the number of nodes used by this topology isgetEndNodeId() - getBeginNodeId()
.- Returns:
- the first node id used by this topology
-
-