Class OperatorUnion
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorUnion
- All Implemented Interfaces:
CombineOperator
- Direct Known Subclasses:
OperatorUnionLocal
Union of geometries.
-
Nested Class Summary
Nested classes/interfaces inherited from class Operator
Operator.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GeometryCursorexecute(GeometryCursor inputGeometries, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Union operation on the geometry set.abstract Geometryexecute(Geometry geom1, Geometry geom2, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Union operation on two geometries.getType()static OperatorUnionlocal()Methods inherited from class Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
Constructor Details
-
OperatorUnion
public OperatorUnion()
-
-
Method Details
-
getType
-
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:
executein interfaceCombineOperator- 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
-