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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(GeometryCursor geoms, SpatialReference spatialRef, boolean bForceSimplify, ProgressTracker progressTracker) Performs the Simplify operation on the geometry cursor.execute
(Geometry geom, SpatialReference spatialRef, boolean bForceSimplify, ProgressTracker progressTracker) Performs the Simplify operation on the geometry.boolean
isSimpleAsFeature
(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
-
Constructor Details
-
OperatorSimplifyLocal
OperatorSimplifyLocal()
-
-
Method Details
-
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 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:OperatorSimplify
Tests if the Geometry is simple.- Specified by:
isSimpleAsFeature
in 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:OperatorSimplify
Performs the Simplify operation on the geometry.- Specified by:
execute
in 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.
-