Class OperatorRelate

java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorRelate
Direct Known Subclasses:
OperatorRelateLocal

public abstract class OperatorRelate extends Operator
Performs the Relation operation between two geometries using the DE-9IM matrix encoded as a string.
  • Constructor Details

    • OperatorRelate

      public OperatorRelate()
  • Method Details

    • getType

      public Operator.Type getType()
      Specified by:
      getType in class Operator
    • execute

      public abstract boolean execute(Geometry inputGeom1, Geometry inputGeom2, SpatialReference sr, String de_9im_string, ProgressTracker progressTracker)
      Performs the Relation operation between two geometries using the DE-9IM matrix encoded as a string.
      Parameters:
      inputGeom1 - The first geometry in the relation.
      inputGeom2 - The second geometry in the relation.
      sr - The spatial reference of the geometries.
      de_9im_string - The DE-9IM matrix relation encoded as a string.
      Returns:
      Returns True if the relation holds, False otherwise.
    • local

      public static OperatorRelate local()
    • canAccelerateGeometry

      public boolean canAccelerateGeometry(Geometry geometry)
      Description copied from class: Operator
      Returns true if the geometry can be accelerated.
      Overrides:
      canAccelerateGeometry in class Operator
      Parameters:
      geometry -
      Returns:
      true for geometries that can be accelerated, false for geometries that cannot
    • accelerateGeometry

      public boolean accelerateGeometry(Geometry geometry, SpatialReference spatialReference, Geometry.GeometryAccelerationDegree accelDegree)
      Description copied from class: Operator
      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.
      Overrides:
      accelerateGeometry in class Operator
      Parameters:
      geometry - The geometry to be accelerated
      spatialReference - The spatial reference of that geometry
      accelDegree - The acceleration degree for geometry.