Class OperatorUnionLocal

All Implemented Interfaces:
CombineOperator

class OperatorUnionLocal extends OperatorUnion
  • Constructor Details

    • OperatorUnionLocal

      OperatorUnionLocal()
  • Method Details

    • execute

      public GeometryCursor execute(GeometryCursor inputGeometries, SpatialReference sr, ProgressTracker progressTracker)
      Description copied from class: OperatorUnion
      Performs the Topological Union operation on the geometry set.
      Specified by:
      execute in class OperatorUnion
      Parameters:
      inputGeometries - is the set of Geometry instances to be unioned.
    • execute

      public Geometry execute(Geometry geom1, Geometry geom2, SpatialReference sr, ProgressTracker progressTracker)
      Description copied from class: OperatorUnion
      Performs the Topological Union operation on two geometries.
      Specified by:
      execute in interface CombineOperator
      Specified by:
      execute in class OperatorUnion
      Parameters:
      geom1 - and geom2 are the geometry instances to be unioned.
      geom2 - is the geometry instance to be operated on.
      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 geoemtry. In some cases the returned value can point to geom1 or geom2 instance. For example, the OperatorIntersection may return geom2 when it is completely inside of the geom1.