Click or drag to resize

GeometryEngineUnion Method (IEnumerableGeometry)

Calculates the union of a collection of geometries

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
Syntax
public static Geometry Union(
	IEnumerable<Geometry> geometries
)

Parameters

geometries
Type: System.Collections.GenericIEnumerableGeometry
A collection of geometries.

Return Value

Type: Geometry
The union of all the geometries in the given collection.
Remarks
There must be at least one geometry in the given collection. The geometries must have consistent spatial references. If the collection contains geometries of differing dimensionality, returns the union of the subset of geometries with the highest dimensionality. E.g. given a collection of polygons, polylines and points, returns the union of the polygons.
See Also