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 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.booleanisSimpleAsFeature(Geometry geom, SpatialReference spatialRef, boolean bForceTest, NonSimpleResult result, ProgressTracker progressTracker) Tests if the Geometry is simple.Methods inherited from class OperatorSimplify
getType, isSimpleAsFeature, localMethods inherited from class 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: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.
-