com.esri.core.geometry
Class OperatorSimplifyOGC
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorSimplifyOGC
public abstract class OperatorSimplifyOGC
- extends Operator
Simplifies geometry or determines if geometry is simple. Tries to follow OGC specification 1.2.1.
Uses tolerance to determine equal vertices or points of intersection.
|
Method Summary |
abstract GeometryCursor |
execute(GeometryCursor geoms,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
This method is still in development. |
abstract Geometry |
execute(Geometry geom,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
This method is still in development. |
Operator.Type |
getType()
|
abstract boolean |
isSimpleOGC(Geometry geom,
SpatialReference spatialRef,
boolean bForceTest,
com.esri.core.geometry.NonSimpleResult result,
ProgressTracker progressTracker)
Tests if the Geometry is simple for OGC spec 1.2.1. |
static OperatorSimplifyOGC |
local()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperatorSimplifyOGC
public OperatorSimplifyOGC()
getType
public Operator.Type getType()
- Specified by:
getType in class Operator
isSimpleOGC
public abstract boolean isSimpleOGC(Geometry geom,
SpatialReference spatialRef,
boolean bForceTest,
com.esri.core.geometry.NonSimpleResult result,
ProgressTracker progressTracker)
- Tests if the Geometry is simple for OGC spec 1.2.1.
- Parameters:
geom - The Geometry to be tested.bForceTest - When True, the Geometry will be tested regardless of the IsKnownSimple flag.
Note: As other methods in the OperatorSimplify, this method uses tolerance from the spatial reference.
Points that are within the tolerance are considered equal.
execute
public abstract GeometryCursor execute(GeometryCursor geoms,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
- This method is still in development. Use Operator_simplify for now.
Performs the Simplify operation on the geometry set.
- Returns:
- Returns a GeometryCursor of simplified geometries.
execute
public abstract Geometry execute(Geometry geom,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
- This method is still in development. Use Operator_simplify for now.
Performs the Simplify operation on a Geometry.
- Returns:
- Returns a simple Geometry.
local
public static OperatorSimplifyOGC local()
Copyright © 2013. All Rights Reserved.