public abstract class OperatorDifference extends Operator implements CombineOperator
Operator.Type
Constructor and Description |
---|
OperatorDifference() |
Modifier and Type | Method and Description |
---|---|
abstract GeometryCursor |
execute(GeometryCursor inputGeometries,
GeometryCursor subtractor,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Difference operation on the geometry set.
|
abstract Geometry |
execute(Geometry inputGeometry,
Geometry subtractor,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Difference operation on the two geometries.
|
Operator.Type |
getType() |
static OperatorDifference |
local() |
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
public Operator.Type getType()
public abstract GeometryCursor execute(GeometryCursor inputGeometries, GeometryCursor subtractor, SpatialReference sr, ProgressTracker progressTracker)
inputGeometries
- is the set of Geometry instances to be subtracted by the
subtractorsubtractor
- is the Geometry being subtracted.public abstract Geometry execute(Geometry inputGeometry, Geometry subtractor, SpatialReference sr, ProgressTracker progressTracker)
execute
in interface CombineOperator
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.public static OperatorDifference local()
Copyright © 2018. All rights reserved.