Click or drag to resize

GeometryEngineBufferGeodetic Method (IEnumerableGeometry, IEnumerableDouble, LinearUnit, Double, GeodeticCurveType, Boolean)

Calculates the geodesic buffer of the geometries in a given collection.

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
public static IEnumerable<Geometry> BufferGeodetic(
	IEnumerable<Geometry> geometries,
	IEnumerable<double> distances,
	LinearUnit distanceUnit,
	double maxDeviation = NaN,
	GeodeticCurveType curveType = GeodeticCurveType.Geodesic,
	bool unionResult = false


Type: System.Collections.GenericIEnumerableGeometry
A collection of geometries.
Type: System.Collections.GenericIEnumerableDouble
The distance to buffer each geometry, expressed as a sequence of double. If the size of the distances collection is less than the number of geometries, the last distance value is used for the rest of geometries.
Type: Esri.ArcGISRuntime.GeometryLinearUnit
The unit of measure for the distance.
maxDeviation (Optional)
Type: SystemDouble
The maximum deviation between points.
curveType (Optional)
Type: Esri.ArcGISRuntime.GeometryGeodeticCurveType
The curve type to calculate.
unionResult (Optional)
Type: SystemBoolean
Return a single geometry that buffers all the geometries (true), or one buffer for each in the given collection (false).

Return Value

Type: IEnumerableGeometry
A collection of polygon geometries that represent a geodesic buffer at the desired distance(s) relative to the given geometries. If unionResult is true, there will be only a single polygon in the resulting collection. If geometries is empty, returns an empty array.
The geometries must have consistent, non-null spatial references.
See Also