Interface MeXTopologyIj
- All Superinterfaces:
MiTopology
,MiTopologyIj
A generic interface for an extracted structured implicit surface mesh
topology.
Cells are all implicitly defined as quadrangles so there is no need for
specifying a list of cells. The number of cells on each dimension defines
completely the topology.
-
Method Summary
Modifier and TypeMethodDescriptionlong
getInputCellIdI
(long i, long j) Returns the I cell indice of the input cell containing the extracted cell with the given id.long
getInputCellIdJ
(long i, long j) Returns the J cell indice of the input cell containing the extracted cell with the given id.long
getInputCellIdK
(long i, long j) Returns the K cell indice 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.MiTopologyIj
getNumCellsI, getNumCellsJ, 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 i, long j) Returns the I cell indice 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:
i
- the i-index of the cell to checkj
- the j-index of the cell to check- Returns:
- the I cell indice of the input cell
-
getInputCellIdJ
long getInputCellIdJ(long i, long j) Returns the J cell indice 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:
i
- the i-index of the cell to checkj
- the j-index of the cell to check- Returns:
- the J cell indice of the input cell
-
getInputCellIdK
long getInputCellIdK(long i, long j) Returns the K cell indice 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:
i
- the i-index of the cell to checkj
- the j-index of the cell to check- Returns:
- the K cell indice of the input cell
-