Class MiCellExtractIj

  • All Implemented Interfaces:
    MiBaseExtractor, MiExtractorIj

    public abstract class MiCellExtractIj
    extends java.lang.Object
    implements MiExtractorIj
    Cell extractor for structured surface meshes.

    Extracts a list of cells from the input structured mesh and builds a surface mesh representing the extracted cells.

    • Method Detail

      • getNewInstance

        public static <T extends MiTopologyIj,​G extends MiGeometryIjMiCellExtractIj getNewInstance​(MiSurfaceMeshCurvilinear<T,​G> mesh)
        Create an instance of cell extractor for a curvilinear surface mesh.
        Parameters:
        mesh - the input mesh
        Returns:
        a cell extractor for a curvilinear surface mesh
      • extractCell

        public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,​MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,​MeXGeometryI> extractCell​(long[] cellIndexes,
                                                                                                                                                    double factor,
                                                                                                                                                    MiCellFilterIj cellFilter)
        Creates an unstructured surface mesh from the faces of the cells corresponding to the given indices in the original surface mesh.

        Cells are scaled according to the given factor:
        Shrinking: factor < 1
        Expanding: factor > 1

        Parameters:
        cellIndexes - indices of the cells to extract {i0, j0, i1, j1, ...}
        factor - cell scale factor
        cellFilter - cell filter
        Returns:
        an unstructured surface mesh from the faces of the extracted cells
      • extractScalarSet

        public abstract MeXScalardSetI extractScalarSet​(MiScalardSetIj scalarSet)
        Extracts a scalar set from the surface mesh. The scalars are mapped onto the current extracted mesh.
        Parameters:
        scalarSet - the input scalar set defined on the surface mesh
        Returns:
        the output scalar set defined on the extracted mesh
      • extractVec3Set

        public abstract MeXVec3dSetI extractVec3Set​(MiVec3dSetIj vectorSet)
        Extracts a vector set from the surface mesh. The vectors are mapped onto the current extracted mesh.
        Parameters:
        vectorSet - the input vector set defined on the surface mesh
        Returns:
        the output vector set defined on the extracted mesh
      • extractStringSet

        public abstract MeXStringSetI extractStringSet​(MiStringSetIj stringSet)
        Extracts a string set from the surface mesh. The strings are mapped onto the current extracted mesh.
        Parameters:
        stringSet - the input string set defined on the surface mesh
        Returns:
        the output string set defined on the extracted mesh