Package com.esri.core.geometry
Class OperatorDifference
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorDifference
- All Implemented Interfaces:
CombineOperator
- Direct Known Subclasses:
OperatorDifferenceLocal
Difference of geometries.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GeometryCursor
execute
(GeometryCursor inputGeometries, GeometryCursor subtractor, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Difference operation on the geometry set.abstract Geometry
execute
(Geometry inputGeometry, Geometry subtractor, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Difference operation on the two geometries.getType()
static OperatorDifference
local()
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
Constructor Details
-
OperatorDifference
public OperatorDifference()
-
-
Method Details
-
getType
-
execute
public abstract GeometryCursor execute(GeometryCursor inputGeometries, GeometryCursor subtractor, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Difference operation on the geometry set.- Parameters:
inputGeometries
- is the set of Geometry instances to be subtracted by the subtractorsubtractor
- is the Geometry being subtracted.- Returns:
- Returns the result of the subtraction. The operator subtracts subtractor from every geometry in inputGeometries.
-
execute
public abstract Geometry execute(Geometry inputGeometry, Geometry subtractor, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Difference operation on the two geometries.- Specified by:
execute
in interfaceCombineOperator
- Parameters:
inputGeometry
- is the Geometry instance on the left hand side of the subtraction.subtractor
- is the Geometry on the right hand side being subtracted.sr
- The spatial reference to get the tolerance value from. When sr is null, the tolerance is calculated from the input geometries.progressTracker
- ProgressTracker instance that is used to cancel the lengthy operation. Can be null.- Returns:
- Returns the result of subtraction.
-
local
-