Interface MeXTopologyI
- All Superinterfaces:
MiTopology
,MiTopologyI
- All Known Subinterfaces:
MeXLineTopologyExplicitI<C>
,MeXSurfaceTopologyExplicitI<C>
List of extracted cells interface.
A generic interface for an extracted implicit mesh topology.
-
Method Summary
Modifier and TypeMethodDescriptionlong
getInputCellIdI
(long id) Returns the I cell index of the input cell containing the extracted cell with the given id.long
getInputCellIdJ
(long id) Returns the J cell index of the input cell containing the extracted cell with the given id.long
getInputCellIdK
(long id) Returns the K cell index of the input cell containing the extracted cell with the given id.boolean
Returnstrue
if the input cell mapping is available.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
-
hasInputCellMapping
boolean hasInputCellMapping()Returnstrue
if the input cell mapping is available. Iffalse
, thegetInputCellId()
methods must be ignored.- Returns:
true
if the input cell mapping is available
-
getInputCellIdI
long getInputCellIdI(long id) Returns the I cell index of the input cell containing the extracted cell with the given id.This defines a mapping between extracted cells and input cells if the
hasInputCellMapping()
method returnstrue
, otherwise these methods returnMxMeshViz.UNDEFINED_ID
.- Parameters:
id
- the index of the cell to check- Returns:
- the I cell index of the input cell
-
getInputCellIdJ
long getInputCellIdJ(long id) Returns the J cell index of the input cell containing the extracted cell with the given id.This defines a mapping between extracted cells and input cells if the
hasInputCellMapping()
method returnstrue
, otherwise these methods returnMxMeshViz.UNDEFINED_ID
.- Parameters:
id
- the index of the cell to check- Returns:
- the J cell index of the input cell
-
getInputCellIdK
long getInputCellIdK(long id) Returns the K cell index of the input cell containing the extracted cell with the given id.This defines a mapping between extracted cells and input cells if the
hasInputCellMapping()
method returnstrue
, otherwise these methods returnMxMeshViz.UNDEFINED_ID
.- Parameters:
id
- the index of the cell to check- Returns:
- the K cell index of the input cell
-