Class OperatorSimplifyLocalOGC


class OperatorSimplifyLocalOGC extends OperatorSimplifyOGC
  • Constructor Details

    • OperatorSimplifyLocalOGC

      OperatorSimplifyLocalOGC()
  • Method Details

    • execute

      public GeometryCursor execute(GeometryCursor geoms, SpatialReference spatialRef, boolean bForceSimplify, ProgressTracker progressTracker)
      Description copied from class: OperatorSimplifyOGC
      Processes geometry cursor to ensure its geometries are simple for OGC specification.
      Specified by:
      execute in class OperatorSimplifyOGC
      Parameters:
      geoms - Geometries to be simplified.
      spatialRef - Spatial reference to obtain the tolerance from. 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 isSimpleOGC returns true after this call.
    • isSimpleOGC

      public boolean isSimpleOGC(Geometry geom, SpatialReference spatialRef, boolean bForceTest, NonSimpleResult result, ProgressTracker progressTracker)
      Description copied from class: OperatorSimplifyOGC
      Tests if the Geometry is simple for OGC specification.
      Specified by:
      isSimpleOGC in class OperatorSimplifyOGC
      Parameters:
      geom - The Geometry to be tested.
      spatialRef - Spatial reference to obtain the tolerance from. When null, the tolerance will be derived individually from geometry bounds.
      bForceTest - When True, the Geometry will be tested regardless of the IsKnownSimple flag.
      progressTracker - Allows cancellation of a long operation. Can be null. Note: As other methods in the OperatorSimplifyOGC, this method uses tolerance from the spatial reference. Points that are within the tolerance are considered equal. When this method returns true, the OperatorSimplify.isSimpleAsFeature will return true also (this does not necessary happen the other way around).
    • execute

      public Geometry execute(Geometry geom, SpatialReference spatialRef, boolean bForceSimplify, ProgressTracker progressTracker)
      Description copied from class: OperatorSimplifyOGC
      Processes geometry to ensure it is simple for OGC specification.
      Specified by:
      execute in class OperatorSimplifyOGC
      Parameters:
      geom - The geometry to be simplified.
      spatialRef - Spatial reference to obtain the tolerance from. When null, the tolerance will be derived individually from geometry 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 that should be visually equivalent to the input geometry. The isSimpleOGC returns true after this call.