Interface MeXTopologyIj

All Superinterfaces:
MiTopology, MiTopologyIj

public interface MeXTopologyIj extends MiTopologyIj
List of extracted structured surface cells interface.

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 Type
    Method
    Description
    long
    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
    Returns true 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()
      Returns true if the input cell mapping is available. If false, the getInputCellId() 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 returns true, otherwise these methods return MxMeshViz.UNDEFINED_ID.

      Parameters:
      i - the i-index of the cell to check
      j - 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 returns true, otherwise these methods return MxMeshViz.UNDEFINED_ID.

      Parameters:
      i - the i-index of the cell to check
      j - 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 returns true, otherwise these methods return MxMeshViz.UNDEFINED_ID.

      Parameters:
      i - the i-index of the cell to check
      j - the j-index of the cell to check
      Returns:
      the K cell indice of the input cell