com.esri.core.geometry
Class OperatorSimpleRelation
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorSimpleRelation
- Direct Known Subclasses:
- OperatorContains, OperatorCrosses, OperatorDisjoint, OperatorEquals, OperatorIntersects, OperatorOverlaps, OperatorTouches, OperatorWithin
public abstract class OperatorSimpleRelation
- extends Operator
A base class for simple relation operators.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperatorSimpleRelation
public OperatorSimpleRelation()
execute
public abstract boolean execute(Geometry inputGeom1,
Geometry inputGeom2,
SpatialReference sr,
ProgressTracker progressTracker)
- Performs the given relation operation between two geometries.
- Returns:
- Returns True if the relation holds, False otherwise.
canAccelerateGeometry
public boolean canAccelerateGeometry(Geometry geometry)
- Description copied from class:
Operator
- Returns true if the geometry can be accelerated.
- Overrides:
canAccelerateGeometry in class Operator
- 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 same 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 acceleratedspatialReference - The spatial reference of that geometry
Copyright © 2013. All Rights Reserved.