public abstract class OperatorSimplify extends Operator
Operator.Type| Constructor and Description |
|---|
OperatorSimplify() |
| Modifier and Type | Method and Description |
|---|---|
abstract GeometryCursor |
execute(GeometryCursor geoms,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
Performs the Simplify operation on the geometry cursor.
|
abstract Geometry |
execute(Geometry geom,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
Performs the Simplify operation on the geometry.
|
Operator.Type |
getType() |
abstract boolean |
isSimpleAsFeature(Geometry geom,
SpatialReference spatialRef,
boolean bForceTest,
NonSimpleResult result,
ProgressTracker progressTracker)
Tests if the Geometry is simple.
|
boolean |
isSimpleAsFeature(Geometry geom,
SpatialReference spatialRef,
ProgressTracker progressTracker)
Tests if the Geometry is simple (second call will use a cached IsKnownSimple flag and immediately return).
|
static OperatorSimplify |
local() |
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometrypublic Operator.Type getType()
public abstract boolean isSimpleAsFeature(Geometry geom, SpatialReference spatialRef, boolean bForceTest, NonSimpleResult result, ProgressTracker progressTracker)
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.public boolean isSimpleAsFeature(Geometry geom, SpatialReference spatialRef, ProgressTracker progressTracker)
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.progressTracker - Allows cancellation of a long operation. Can be null.public abstract GeometryCursor execute(GeometryCursor geoms, SpatialReference sr, boolean bForceSimplify, ProgressTracker progressTracker)
geoms - Geometries to simplify.sr - 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.public abstract Geometry execute(Geometry geom, SpatialReference sr, boolean bForceSimplify, ProgressTracker progressTracker)
geom - Geometry to simplify.sr - 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.public static OperatorSimplify local()
Copyright © 2018. All rights reserved.