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

    Modifier and Type
    Method
    Description
    long
    Returns the first node id used by this topology.
    getCell(long id)
    Returns a cell of this topology.
    long
    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 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 is getEndNodeId() - 1 and the number of nodes used by this topology is getEndNodeId() - 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 is getEndNodeId() - 1 and the number of nodes used by this topology is getEndNodeId() - getBeginNodeId().

      Returns:
      the first node id used by this topology