Interface MiCellFilterIj

  • All Superinterfaces:

    public interface MiCellFilterIj
    extends MiCellFilter
    Defines a cell filter for structured surface meshes.

    This interface is used for filtering cells on structured surface meshes.
    Filtering cells is a way to specify which cells are used to build the mesh representation.

    When the method acceptCell returns false, the cell specified by the indices (i,j) is not taken into account by the extraction. It is as if the mesh does not contain this cell.

    In order to define a custom cell filter for a structured surface mesh, create a class derived from this class.

    See Also:
    • Method Detail

      • acceptCell

        boolean acceptCell​(long i,
                           long j)
        Checks if the cell is accepted.

        Accepted cells are used to during the extraction process.

        i - i index of the cell
        j - j index of the cell
        true if the cell is accepted.