Package com.esri.core.geometry
Class Operator
java.lang.Object
com.esri.core.geometry.Operator
- Direct Known Subclasses:
OperatorBoundary
,OperatorBuffer
,OperatorCentroid2D
,OperatorClip
,OperatorConvexHull
,OperatorCut
,OperatorDensifyByLength
,OperatorDifference
,OperatorDistance
,OperatorExportToESRIShape
,OperatorExportToGeoJson
,OperatorExportToJson
,OperatorExportToWkb
,OperatorExportToWkt
,OperatorGeneralize
,OperatorGeodesicBuffer
,OperatorGeodeticArea
,OperatorGeodeticDensifyByLength
,OperatorGeodeticLength
,OperatorImportFromESRIShape
,OperatorImportFromGeoJson
,OperatorImportFromJson
,OperatorImportFromWkb
,OperatorImportFromWkt
,OperatorIntersection
,OperatorOffset
,OperatorProject
,OperatorProximity2D
,OperatorRelate
,OperatorShapePreservingDensify
,OperatorSimpleRelation
,OperatorSimplify
,OperatorSimplifyOGC
,OperatorSymmetricDifference
,OperatorUnion
The base class for Geometry Operators.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
accelerateGeometry
(Geometry geometry, SpatialReference spatialReference, Geometry.GeometryAccelerationDegree accelDegree) Processes Geometry to accelerate operations on it.boolean
canAccelerateGeometry
(Geometry geometry) Returns true if the geometry can be accelerated.static void
deaccelerateGeometry
(Geometry geometry) Removes accelerators from given geometry.abstract Operator.Type
getType()
-
Constructor Details
-
Operator
public Operator()
-
-
Method Details
-
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 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
- The acceleration degree for geometry.
-
canAccelerateGeometry
Returns true if the geometry can be accelerated.- Parameters:
geometry
-- Returns:
- true for geometries that can be accelerated, false for geometries that cannot
-
deaccelerateGeometry
Removes accelerators from given geometry.- Parameters:
geometry
- The geometry instance to remove accelerators from.
-