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

public abstract class Operator extends Object
The base class for Geometry Operators.
  • Constructor Details

    • Operator

      public Operator()
  • Method Details

    • 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 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 accelerated
      spatialReference - The spatial reference of that geometry
      accelDegree - The acceleration degree for geometry.
    • 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)
      Removes accelerators from given geometry.
      Parameters:
      geometry - The geometry instance to remove accelerators from.