Package com.esri.core.geometry
Class OperatorCutLocal
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorCut
-
- com.esri.core.geometry.OperatorCutLocal
-
class OperatorCutLocal extends OperatorCut
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OperatorCutLocal.CutPair
static interface
OperatorCutLocal.Side
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorCutLocal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeometryCursor
execute(boolean bConsiderTouch, Geometry cuttee, Polyline cutter, SpatialReference spatialReference, ProgressTracker progressTracker)
Performs the Cut operation on a geometry.-
Methods inherited from class com.esri.core.geometry.OperatorCut
getType, local
-
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
-
-
-
Method Detail
-
execute
public GeometryCursor execute(boolean bConsiderTouch, Geometry cuttee, Polyline cutter, SpatialReference spatialReference, ProgressTracker progressTracker)
Description copied from class:OperatorCut
Performs the Cut operation on a geometry.- Specified by:
execute
in classOperatorCut
- Parameters:
bConsiderTouch
- Indicates whether we consider a touch event a cut. This only applies to polylines, but it's recommended to set this variable to True.cuttee
- The input geometry to be cut.cutter
- The polyline that will be used to divide the cuttee into pieces where it crosses the cutter.- Returns:
- Returns a GeometryCursor of cut geometries. All left cuts will be grouped together in the first geometry. Right cuts and coincident cuts are grouped in the second geometry, and each undefined cut along with any uncut parts are output as separate geometries. If there were no cuts the cursor will return no geometry. If the left or right cut does not exist, the returned geometry will be empty for this type of cut. An undefined cut will only be produced if a left cut or right cut was produced and there was a part left over after cutting or a cut is bounded to the left and right of the cutter.
-
-