Class OperatorSimplifyLocal

    • Constructor Detail

      • OperatorSimplifyLocal

        OperatorSimplifyLocal()
    • Method Detail

      • execute

        public GeometryCursor execute​(GeometryCursor geoms,
                                      SpatialReference spatialRef,
                                      boolean bForceSimplify,
                                      ProgressTracker progressTracker)
        Description copied from class: OperatorSimplify
        Performs the Simplify operation on the geometry cursor.
        Specified by:
        execute in class OperatorSimplify
        Parameters:
        geoms - Geometries to simplify.
        spatialRef - Spatial reference from which the tolerance is obtained. When null, the tolerance will be derived individually for each geometry from its bounds.
        bForceSimplify - When True, the Geometry will be simplified regardless of the internal IsKnownSimple flag.
        progressTracker - Allows cancellation of a long operation. Can be null.
        Returns:
        Returns a GeometryCursor of simplified geometries. The isSimpleAsFeature returns true after this method.
      • isSimpleAsFeature

        public boolean isSimpleAsFeature​(Geometry geom,
                                         SpatialReference spatialRef,
                                         boolean bForceTest,
                                         NonSimpleResult result,
                                         ProgressTracker progressTracker)
        Description copied from class: OperatorSimplify
        Tests if the Geometry is simple.
        Specified by:
        isSimpleAsFeature in class OperatorSimplify
        Parameters:
        geom - The Geometry to be tested.
        spatialRef - Spatial reference from which the tolerance is obtained. Can be null, then a very small tolerance value is derived from the geometry bounds.
        bForceTest - When True, the Geometry will be tested regardless of the internal IsKnownSimple flag.
        result - if not null, will contain the results of the check.
        progressTracker - Allows cancellation of a long operation. Can be null.
      • execute

        public Geometry execute​(Geometry geom,
                                SpatialReference spatialRef,
                                boolean bForceSimplify,
                                ProgressTracker progressTracker)
        Description copied from class: OperatorSimplify
        Performs the Simplify operation on the geometry.
        Specified by:
        execute in class OperatorSimplify
        Parameters:
        geom - Geometry to simplify.
        spatialRef - Spatial reference from which the tolerance is obtained. When null, the tolerance will be derived individually for each geometry from its bounds.
        bForceSimplify - When True, the Geometry will be simplified regardless of the internal IsKnownSimple flag.
        progressTracker - Allows cancellation of a long operation. Can be null.
        Returns:
        Returns a simple geometry. The isSimpleAsFeature returns true after this method.