Class OperatorSymmetricDifference

    • Constructor Detail

      • OperatorSymmetricDifference

        public OperatorSymmetricDifference()
    • Method Detail

      • 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 interface CombineOperator
        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.