com.esri.core.geometry
Class Operator
java.lang.Object
com.esri.core.geometry.Operator
- Direct Known Subclasses:
- OperatorBoundary, OperatorBuffer, OperatorClip, OperatorConvexHull, OperatorCut, OperatorDensifyByLength, OperatorDifference, OperatorDistance, OperatorExportToESRIShape, OperatorExportToGeoJson, OperatorExportToJson, OperatorExportToWkb, OperatorExportToWkt, OperatorGeneralize, OperatorImportFromESRIShape, OperatorImportFromGeoJson, OperatorImportFromJson, OperatorImportFromWkb, OperatorImportFromWkt, OperatorIntersection, OperatorOffset, OperatorProximity2D, OperatorRelate, OperatorSimpleRelation, OperatorSimplify, OperatorSimplifyOGC, OperatorSymmetricDifference, OperatorUnion
public abstract class Operator
- extends Object
The base class for Geometry Operators.
|
Nested Class Summary |
static class |
Operator.Type
The operator type enum. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Operator
public Operator()
getType
public abstract Operator.Type getType()
accelerateGeometry
public boolean accelerateGeometry(Geometry geometry,
SpatialReference spatialReference,
Geometry.GeometryAccelerationDegree accelDegree)
- Processes Geometry to accelerate operations on it. The Geometry and it's
copies remain accelerated until modified. The acceleration of Geometry
can be a time consuming operation. The accelerated geometry also takes
more memory. Some operators share same the same accelerator, some require
a different one. If the accelerator is built for the given parameters,
the method returns immediately.
- Parameters:
geometry - The geometry to be acceleratedspatialReference - The spatial reference of that geometryaccelDegree -
canAccelerateGeometry
public boolean canAccelerateGeometry(Geometry geometry)
- Returns true if the geometry can be accelerated.
- Parameters:
geometry -
- Returns:
- true for geometries that can be accelerated, false for geometries
that cannot
deaccelerateGeometry
public static void deaccelerateGeometry(Geometry geometry)
Copyright © 2013. All Rights Reserved.