Package com.esri.core.geometry
Class OperatorDifferenceLocal
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorDifference
-
- com.esri.core.geometry.OperatorDifferenceLocal
-
- All Implemented Interfaces:
CombineOperator
class OperatorDifferenceLocal extends OperatorDifference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorDifferenceLocal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static Geometry
difference(Geometry geometry_a, Geometry geometry_b, SpatialReference spatial_reference, ProgressTracker progress_tracker)
GeometryCursor
execute(GeometryCursor inputGeometries, GeometryCursor subtractor, SpatialReference sr, ProgressTracker progressTracker)
Performs the Topological Difference operation on the geometry set.Geometry
execute(Geometry inputGeometry, Geometry subtractor, SpatialReference sr, ProgressTracker progressTracker)
Performs the Topological Difference operation on the two geometries.(package private) static Geometry
multiPointMinusEnvelope_(MultiPoint multi_point, Envelope envelope, double tolerance, ProgressTracker progress_tracker)
(package private) static Geometry
multiPointMinusPoint_(MultiPoint multi_point, Point point, double tolerance, ProgressTracker progress_tracker)
(package private) static Geometry
multiPointMinusPolygon_(MultiPoint multi_point, Polygon polygon, double tolerance, ProgressTracker progress_tracker)
(package private) static Geometry
pointMinusEnvelope_(Point point, Envelope envelope, double tolerance, ProgressTracker progress_tracker)
(package private) static Geometry
pointMinusMultiPoint_(Point point, MultiPoint multi_point, double tolerance, ProgressTracker progress_tracker)
(package private) static Geometry
pointMinusPoint_(Point point_a, Point point_b, double tolerance, ProgressTracker progress_tracker)
(package private) static Geometry
pointMinusPolygon_(Point point, Polygon polygon, double tolerance, ProgressTracker progress_tracker)
(package private) static Geometry
pointMinusPolyline_(Point point, Polyline polyline, double tolerance, ProgressTracker progress_tracker)
-
Methods inherited from class com.esri.core.geometry.OperatorDifference
getType, local
-
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
-
-
-
Method Detail
-
execute
public GeometryCursor execute(GeometryCursor inputGeometries, GeometryCursor subtractor, SpatialReference sr, ProgressTracker progressTracker)
Description copied from class:OperatorDifference
Performs the Topological Difference operation on the geometry set.- Specified by:
execute
in classOperatorDifference
- Parameters:
inputGeometries
- is the set of Geometry instances to be subtracted by the subtractorsubtractor
- is the Geometry being subtracted.- Returns:
- Returns the result of the subtraction. The operator subtracts subtractor from every geometry in inputGeometries.
-
execute
public Geometry execute(Geometry inputGeometry, Geometry subtractor, SpatialReference sr, ProgressTracker progressTracker)
Description copied from class:OperatorDifference
Performs the Topological Difference operation on the two geometries.- Specified by:
execute
in interfaceCombineOperator
- Specified by:
execute
in classOperatorDifference
- Parameters:
inputGeometry
- is the Geometry instance on the left hand side of the subtraction.subtractor
- is the Geometry on the right hand side being subtracted.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 of subtraction.
-
difference
static Geometry difference(Geometry geometry_a, Geometry geometry_b, SpatialReference spatial_reference, ProgressTracker progress_tracker)
-
pointMinusPolygon_
static Geometry pointMinusPolygon_(Point point, Polygon polygon, double tolerance, ProgressTracker progress_tracker)
-
pointMinusPolyline_
static Geometry pointMinusPolyline_(Point point, Polyline polyline, double tolerance, ProgressTracker progress_tracker)
-
pointMinusMultiPoint_
static Geometry pointMinusMultiPoint_(Point point, MultiPoint multi_point, double tolerance, ProgressTracker progress_tracker)
-
pointMinusEnvelope_
static Geometry pointMinusEnvelope_(Point point, Envelope envelope, double tolerance, ProgressTracker progress_tracker)
-
pointMinusPoint_
static Geometry pointMinusPoint_(Point point_a, Point point_b, double tolerance, ProgressTracker progress_tracker)
-
multiPointMinusPolygon_
static Geometry multiPointMinusPolygon_(MultiPoint multi_point, Polygon polygon, double tolerance, ProgressTracker progress_tracker)
-
multiPointMinusEnvelope_
static Geometry multiPointMinusEnvelope_(MultiPoint multi_point, Envelope envelope, double tolerance, ProgressTracker progress_tracker)
-
multiPointMinusPoint_
static Geometry multiPointMinusPoint_(MultiPoint multi_point, Point point, double tolerance, ProgressTracker progress_tracker)
-
-