Package com.esri.core.geometry
Class OperatorSimplifyLocal
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorSimplify
-
- com.esri.core.geometry.OperatorSimplifyLocal
-
class OperatorSimplifyLocal extends OperatorSimplify
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorSimplifyLocal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeometryCursorexecute(GeometryCursor geoms, SpatialReference spatialRef, boolean bForceSimplify, ProgressTracker progressTracker)Performs the Simplify operation on the geometry cursor.Geometryexecute(Geometry geom, SpatialReference spatialRef, boolean bForceSimplify, ProgressTracker progressTracker)Performs the Simplify operation on the geometry.booleanisSimpleAsFeature(Geometry geom, SpatialReference spatialRef, boolean bForceTest, NonSimpleResult result, ProgressTracker progressTracker)Tests if the Geometry is simple.-
Methods inherited from class com.esri.core.geometry.OperatorSimplify
getType, isSimpleAsFeature, local
-
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
-
-
-
Method Detail
-
execute
public GeometryCursor execute(GeometryCursor geoms, SpatialReference spatialRef, boolean bForceSimplify, ProgressTracker progressTracker)
Description copied from class:OperatorSimplifyPerforms the Simplify operation on the geometry cursor.- Specified by:
executein classOperatorSimplify- 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:OperatorSimplifyTests if the Geometry is simple.- Specified by:
isSimpleAsFeaturein classOperatorSimplify- 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:OperatorSimplifyPerforms the Simplify operation on the geometry.- Specified by:
executein classOperatorSimplify- 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.
-
-