Package com.esri.core.geometry
Class OperatorSymmetricDifferenceLocal
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorSymmetricDifference
-
- com.esri.core.geometry.OperatorSymmetricDifferenceLocal
-
- All Implemented Interfaces:
CombineOperator
class OperatorSymmetricDifferenceLocal extends OperatorSymmetricDifference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorSymmetricDifferenceLocal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GeometryCursor
execute(GeometryCursor inputGeometries, GeometryCursor rightGeometry, SpatialReference sr, ProgressTracker progressTracker)
Performs the Symmetric Difference operation on the geometry set.Geometry
execute(Geometry leftGeometry, Geometry rightGeometry, SpatialReference sr, ProgressTracker progressTracker)
Performs the Symmetric Difference operation on the two geometries.(package private) static Geometry
multiPointSymDiffPoint_(MultiPoint multi_point, Point point, double tolerance, ProgressTracker progress_tracker)
(package private) static Geometry
pointSymDiffPoint_(Point point_a, Point point_b, double tolerance, ProgressTracker progress_tracker)
(package private) static Geometry
symmetricDifference(Geometry geometry_a, Geometry geometry_b, SpatialReference spatial_reference, ProgressTracker progress_tracker)
-
Methods inherited from class com.esri.core.geometry.OperatorSymmetricDifference
getType, local
-
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
-
-
-
Method Detail
-
execute
public GeometryCursor execute(GeometryCursor inputGeometries, GeometryCursor rightGeometry, SpatialReference sr, ProgressTracker progressTracker)
Description copied from class:OperatorSymmetricDifference
Performs the Symmetric Difference operation on the geometry set.- Specified by:
execute
in classOperatorSymmetricDifference
- 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 Geometry execute(Geometry leftGeometry, Geometry rightGeometry, SpatialReference sr, ProgressTracker progressTracker)
Description copied from class:OperatorSymmetricDifference
Performs the Symmetric Difference operation on the two geometries.- Specified by:
execute
in interfaceCombineOperator
- Specified by:
execute
in classOperatorSymmetricDifference
- 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.
-
symmetricDifference
static Geometry symmetricDifference(Geometry geometry_a, Geometry geometry_b, SpatialReference spatial_reference, ProgressTracker progress_tracker)
-
pointSymDiffPoint_
static Geometry pointSymDiffPoint_(Point point_a, Point point_b, double tolerance, ProgressTracker progress_tracker)
-
multiPointSymDiffPoint_
static Geometry multiPointSymDiffPoint_(MultiPoint multi_point, Point point, double tolerance, ProgressTracker progress_tracker)
-
-