Package com.esri.core.geometry
Interface CombineOperator
- All Known Implementing Classes:
OperatorDifference
,OperatorDifferenceLocal
,OperatorIntersection
,OperatorIntersectionLocal
,OperatorSymmetricDifference
,OperatorSymmetricDifferenceLocal
,OperatorUnion
,OperatorUnionLocal
public interface CombineOperator
Interface for operators that act on two geometries to produce a new geometry as result.
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(Geometry geom1, Geometry geom2, SpatialReference sr, ProgressTracker progressTracker) Operation on two geometries, returning a third.
-
Method Details
-
execute
Geometry execute(Geometry geom1, Geometry geom2, SpatialReference sr, ProgressTracker progressTracker) Operation on two geometries, returning a third. Examples include Intersection, Difference, and so forth.- Parameters:
geom1
- is the geometry instance to be operated on.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.
-