public static Geometry symmetricDifference ( Geometry leftGeometry , Geometry rightGeometry , SpatialReference spatialReference ) { OperatorSymmetricDifference op = ( OperatorSymmetricDifference ) factory . getOperator ( Operator . Type . SymmetricDifference ) ; Geometry result = op . execute ( leftGeometry , rightGeometry , spatialReference , null ) ; return result ; }
Creates the symmetric difference of two geometries .