Package com.esri.core.geometry
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 com.esri.core.geometry.Operator
Operator.Type
-
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.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.getType()
static OperatorRelate
local()
Methods inherited from class com.esri.core.geometry.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:Operator
Returns true if the geometry can be accelerated.- Overrides:
canAccelerateGeometry
in 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: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 classOperator
- Parameters:
geometry
- The geometry to be acceleratedspatialReference
- The spatial reference of that geometryaccelDegree
- The acceleration degree for geometry.
-