Class OperatorRelate
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorRelate
- Direct Known Subclasses:
OperatorRelateLocal
Performs the Relation operation between two geometries using the DE-9IM matrix encoded as a string.
-
Nested Class Summary
Nested classes/interfaces inherited from class Operator
Operator.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccelerateGeometry(Geometry geometry, SpatialReference spatialReference, Geometry.GeometryAccelerationDegree accelDegree) Processes Geometry to accelerate operations on it.booleancanAccelerateGeometry(Geometry geometry) Returns true if the geometry can be accelerated.abstract booleanexecute(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.getType()static OperatorRelatelocal()Methods inherited from class Operator
deaccelerateGeometry
-
Constructor Details
-
OperatorRelate
public OperatorRelate()
-
-
Method Details
-
getType
-
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
-
canAccelerateGeometry
Description copied from class:OperatorReturns true if the geometry can be accelerated.- Overrides:
canAccelerateGeometryin classOperator- 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:OperatorProcesses 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:
accelerateGeometryin classOperator- Parameters:
geometry- The geometry to be acceleratedspatialReference- The spatial reference of that geometryaccelDegree- The acceleration degree for geometry.
-