Package com.esri.core.geometry
Class OperatorGeodesicBuffer
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorGeodesicBuffer
- Direct Known Subclasses:
OperatorGeodesicBufferLocal
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GeometryCursor
execute
(GeometryCursor inputGeometries, SpatialReference sr, int curveType, double[] distancesMeters, double maxDeviationMeters, boolean bReserved, boolean bUnion, ProgressTracker progressTracker) Creates a geodesic buffer around the input geometriesabstract Geometry
execute
(Geometry inputGeometry, SpatialReference sr, int curveType, double distanceMeters, double maxDeviationMeters, boolean bReserved, ProgressTracker progressTracker) Creates a geodesic buffer around the input geometrygetType()
static OperatorGeodesicBuffer
local()
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
Constructor Details
-
OperatorGeodesicBuffer
OperatorGeodesicBuffer()
-
-
Method Details
-
getType
-
execute
public abstract GeometryCursor execute(GeometryCursor inputGeometries, SpatialReference sr, int curveType, double[] distancesMeters, double maxDeviationMeters, boolean bReserved, boolean bUnion, ProgressTracker progressTracker) Creates a geodesic buffer around the input geometries- Parameters:
inputGeometries
- The geometries to buffer.sr
- The Spatial_reference of the Geometries.curveType
- The geodetic curve type of the segments. If the curve_type is Geodetic_curve::shape_preserving, then the segments are densified in the projection where they are defined before buffering.distancesMeters
- The buffer distances in meters for the Geometries. If the size of the distances array is less than the number of geometries in the input_geometries, the last distance value is used for the rest of geometries.maxDeviationMeters
- The deviation offset to use for convergence. The geodesic arcs of the resulting buffer will be closer than the max deviation of the true buffer. Pass in NaN to use the default deviation.bReserved
- Must be false. Reserved for future development. Will throw an exception if not false.bUnion
- If True, the buffered geometries will be unioned, otherwise they wont be unioned.progressTracker
- Can be null. Allows to cancel lengthy operation.- Returns:
- Geometry cursor over result buffers.
-
execute
public abstract Geometry execute(Geometry inputGeometry, SpatialReference sr, int curveType, double distanceMeters, double maxDeviationMeters, boolean bReserved, ProgressTracker progressTracker) Creates a geodesic buffer around the input geometry- Parameters:
inputGeometry
- The geometry to buffer.sr
- The Spatial_reference of the Geometry.curveType
- The geodetic curve type of the segments. If the curve_type is Geodetic_curve::shape_preserving, then the segments are densified in the projection where they are defined before buffering.distanceMeters
- The buffer distance in meters for the Geometry.maxDeviationMeters
- The deviation offset to use for convergence. The geodesic arcs of the resulting buffer will be closer than the max deviation of the true buffer. Pass in NaN to use the default deviation.bReserved
- Must be false. Reserved for future development. Will throw an exception if not false.progressTracker
- Can be null. Allows to cancel lengthy operation.- Returns:
- Returns result buffer.
-
local
-