Show / Hide Table of Contents

Method CombineExtents

CombineExtents(Geometry, Geometry)

Returns the envelope of the two given geometries.

Declaration
public static Envelope CombineExtents(Geometry geometry1, Geometry geometry2)
Parameters
Type Name Description
Geometry geometry1

A geometry object.

Geometry geometry2

Another geometry object.

Returns
Type Description
Envelope

The maximum extents of the two given geometries.

Remarks

The given geometries must have consistent spatial references.

Supports true curves.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.15

CombineExtents(IEnumerable<Geometry>)

Returns the envelope of geometries in the given collection.

Declaration
public static Envelope CombineExtents(IEnumerable<Geometry> geometries)
Parameters
Type Name Description
IEnumerable<Geometry> geometries

A collection of geometries.

Returns
Type Description
Envelope

The maximum extents of the geometries in the collection.

Remarks

The geometries must have consistent spatial references.

Supports true curves.

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.