Package com.esri.core.geometry
Class OperatorUnionLocal
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorUnion
-
- com.esri.core.geometry.OperatorUnionLocal
-
- All Implemented Interfaces:
CombineOperator
class OperatorUnionLocal extends OperatorUnion
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorUnionLocal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeometryCursor
execute(GeometryCursor inputGeometries, SpatialReference sr, ProgressTracker progressTracker)
Performs the Topological Union operation on the geometry set.Geometry
execute(Geometry geom1, Geometry geom2, SpatialReference sr, ProgressTracker progressTracker)
Performs the Topological Union operation on two geometries.-
Methods inherited from class com.esri.core.geometry.OperatorUnion
getType, local
-
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
-
-
-
Method Detail
-
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 classOperatorUnion
- 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 interfaceCombineOperator
- Specified by:
execute
in classOperatorUnion
- 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.
-
-