Class OperatorUnion

java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorUnion
All Implemented Interfaces:
CombineOperator
Direct Known Subclasses:
OperatorUnionLocal

public abstract class OperatorUnion extends Operator implements CombineOperator
Union of geometries.
  • Constructor Details

    • OperatorUnion

      public OperatorUnion()
  • Method Details

    • getType

      public Operator.Type getType()
      Specified by:
      getType in class Operator
    • execute

      public abstract GeometryCursor execute(GeometryCursor inputGeometries, SpatialReference sr, ProgressTracker progressTracker)
      Performs the Topological Union operation on the geometry set.
      Parameters:
      inputGeometries - is the set of Geometry instances to be unioned.
    • execute

      public abstract Geometry execute(Geometry geom1, Geometry geom2, SpatialReference sr, ProgressTracker progressTracker)
      Performs the Topological Union operation on two geometries.
      Specified by:
      execute in interface CombineOperator
      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.
    • local

      public static OperatorUnion local()