Package com.esri.core.geometry
Class OperatorSymmetricDifference
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorSymmetricDifference
- All Implemented Interfaces:
CombineOperator
- Direct Known Subclasses:
OperatorSymmetricDifferenceLocal
Symmetric difference (XOR) operation between 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 rightGeometry, SpatialReference sr, ProgressTracker progressTracker) Performs the Symmetric Difference operation on the geometry set.abstract Geometry
execute
(Geometry leftGeometry, Geometry rightGeometry, SpatialReference sr, ProgressTracker progressTracker) Performs the Symmetric Difference operation on the two geometries.getType()
static OperatorSymmetricDifference
local()
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
Constructor Details
-
OperatorSymmetricDifference
public OperatorSymmetricDifference()
-
-
Method Details
-
getType
-
execute
public abstract GeometryCursor execute(GeometryCursor inputGeometries, GeometryCursor rightGeometry, SpatialReference sr, ProgressTracker progressTracker) Performs the Symmetric Difference operation on the geometry set.- Parameters:
inputGeometries
- is the set of Geometry instances to be XOR'd by rightGeometry.rightGeometry
- is the Geometry being XOR'd with the inputGeometies.- Returns:
- Returns the result of the symmetric difference. The operator XOR's every geometry in inputGeometries with rightGeometry.
-
execute
public abstract Geometry execute(Geometry leftGeometry, Geometry rightGeometry, SpatialReference sr, ProgressTracker progressTracker) Performs the Symmetric Difference operation on the two geometries.- Specified by:
execute
in interfaceCombineOperator
- Parameters:
leftGeometry
- is one of the Geometry instances in the XOR operation.rightGeometry
- is one of the Geometry instances in the XOR operation.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 the symmetric difference.
-
local
-