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 TypeMethodDescriptionlonggetInputCellIdI(long i, long j) Returns the I cell indice of the input cell containing the extracted cell with the given id.longgetInputCellIdJ(long i, long j) Returns the J cell indice of the input cell containing the extracted cell with the given id.longgetInputCellIdK(long i, long j) Returns the K cell indice of the input cell containing the extracted cell with the given id.booleanReturnstrueif the input cell mapping is available.Methods inherited from interface com.openinventor.meshvizxlm.mesh.topology.MiTopology
getTimeStamp, hasDeadCellsMethods inherited from interface com.openinventor.meshvizxlm.mesh.topology.MiTopologyIj
getNumCellsI, getNumCellsJ, isDead
-
Method Details
-
hasInputCellMapping
boolean hasInputCellMapping()Returnstrueif the input cell mapping is available. Iffalse, thegetInputCellId()methods must be ignored.- Returns:
trueif 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
-