Package com.esri.core.geometry
Class OperatorGeodesicBufferLocal
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorGeodesicBuffer
com.esri.core.geometry.OperatorGeodesicBufferLocal
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(GeometryCursor inputGeometries, SpatialReference sr, int curveType, double[] distancesMeters, double maxDeviationMeters, boolean bReserved, boolean bUnion, ProgressTracker progressTracker) Creates a geodesic buffer around the input geometriesexecute
(Geometry inputGeometry, SpatialReference sr, int curveType, double distanceMeters, double maxDeviationMeters, boolean bReserved, ProgressTracker progressTracker) Creates a geodesic buffer around the input geometryMethods inherited from class com.esri.core.geometry.OperatorGeodesicBuffer
getType, local
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
Constructor Details
-
OperatorGeodesicBufferLocal
OperatorGeodesicBufferLocal()
-
-
Method Details
-
execute
public GeometryCursor execute(GeometryCursor inputGeometries, SpatialReference sr, int curveType, double[] distancesMeters, double maxDeviationMeters, boolean bReserved, boolean bUnion, ProgressTracker progressTracker) Description copied from class:OperatorGeodesicBuffer
Creates a geodesic buffer around the input geometries- Specified by:
execute
in classOperatorGeodesicBuffer
- 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 Geometry execute(Geometry inputGeometry, SpatialReference sr, int curveType, double distanceMeters, double maxDeviationMeters, boolean bReserved, ProgressTracker progressTracker) Description copied from class:OperatorGeodesicBuffer
Creates a geodesic buffer around the input geometry- Specified by:
execute
in classOperatorGeodesicBuffer
- 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.
-