Package com.esri.core.geometry
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorRelate()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
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, java.lang.String de_9im_string, ProgressTracker progressTracker)
Performs the Relation operation between two geometries using the DE-9IM matrix encoded as a string.Operator.Type
getType()
static OperatorRelate
local()
-
Methods inherited from class com.esri.core.geometry.Operator
deaccelerateGeometry
-
-
-
-
Method Detail
-
getType
public Operator.Type getType()
-
execute
public abstract boolean execute(Geometry inputGeom1, Geometry inputGeom2, SpatialReference sr, java.lang.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 classOperator
- 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.
-
-