Interface MiTopologyIjk
- All Superinterfaces:
MiTopology
- All Known Subinterfaces:
MiHexahedronTopologyExplicitIjk
List of volume cells interface.
A generic interface for a structured implicit volume mesh topology. Cells are
all implicitly defined as hexahedron 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 TypeMethodDescriptionintReturns the number of cells on the first logical axis.intReturns the number of cells on the second logical axis.intReturns the number of cells on the third logical axis.booleanisDead(int i, int j, int k) Returnstrueif the cell at the specified position should be ignored.Methods inherited from interface com.openinventor.meshvizxlm.mesh.topology.MiTopology
getTimeStamp, hasDeadCells
-
Method Details
-
getNumCellsI
int getNumCellsI()Returns the number of cells on the first logical axis.- Returns:
- the number of cells on the first logical axis.
-
getNumCellsJ
int getNumCellsJ()Returns the number of cells on the second logical axis.- Returns:
- the number of cells on the second logical axis.
-
getNumCellsK
int getNumCellsK()Returns the number of cells on the third logical axis.- Returns:
- the number of cells on the third logical axis.
-
isDead
boolean isDead(int i, int j, int k) Returnstrueif the cell at the specified position should be ignored. This value is ignored if thehasDeadCellmethod returnsfalse.The implementation of this method must be thread-safe because it might be called concurrently by multiple threads. The way this method is implemented is critical for performance. Any inefficient implementation may impact very significantly the duration of the skin or slab extractions. For instance, using a mutex to ensure this method is thread-safe is in general not efficient.
- Parameters:
i- the i-index of the cell to checkj- the j-index of the cell to checkk- the k-index of the cell to check- Returns:
trueif the cell should be ignored.
-