Show / Hide Table of Contents

Method CreateWithM

CreateWithM(Double, Double, Double, Double, Double, Double)

Creates an Envelope based on the given x, y, and m values.

Declaration
public static Envelope CreateWithM(double xMin, double yMin, double xMax, double yMax, double mMin, double mMax)
Parameters
Type Name Description
Double xMin

The minimal x-value.

Double yMin

The minimal y-value.

Double xMax

The maximum x-value.

Double yMax

The maximum y-value.

Double mMin

The minimal m-value.

Double mMax

The maximum m-value.

Returns
Type Description
Envelope

The envelope.

Remarks

If the values for min parameters are bigger than the corresponding max parameters, then they are re-ordered. The resulting envelope always has min less than or equal to max. Resulting envelope will span the area between two diagonal corner coordinates. The SpatialReference of the new envelope is initialized to null.

Applies to

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

CreateWithM(Double, Double, Double, Double, Double, Double, SpatialReference)

Creates an Envelope based on the given x, y, and m values in the given SpatialReference.

Declaration
public static Envelope CreateWithM(double xMin, double yMin, double xMax, double yMax, double mMin, double mMax, SpatialReference spatialReference)
Parameters
Type Name Description
Double xMin

The minimal x-value.

Double yMin

The minimal y-value.

Double xMax

The maximum x-value.

Double yMax

The maximum y-value.

Double mMin

The minimal m-value.

Double mMax

The maximum m-value.

SpatialReference spatialReference

The spatial reference for the envelope.

Returns
Type Description
Envelope

The envelope.

Remarks

If the values for min parameters are bigger than the corresponding max parameters, then they are re-ordered. The resulting envelope always has min less than or equal to max. Resulting envelope will span the area between two diagonal corner coordinates.

Applies to

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

CreateWithM(Double, Double, Double, Double, Double, Double, Double, Double)

Creates an Envelope based on the given x, y, z, and m values.

Declaration
public static Envelope CreateWithM(double xMin, double yMin, double xMax, double yMax, double zMin, double zMax, double mMin, double mMax)
Parameters
Type Name Description
Double xMin

The minimal x-value.

Double yMin

The minimal y-value.

Double xMax

The maximum x-value.

Double yMax

The maximum y-value.

Double zMin

The minimal z-value.

Double zMax

The maximum z-value.

Double mMin

The minimal m-value.

Double mMax

The maximum m-value.

Returns
Type Description
Envelope

The envelope.

Remarks

If the values for min parameters are bigger than the corresponding max parameters, then they are re-ordered. The resulting envelope always has min less than or equal to max. Resulting envelope will span the volume between two diagonal corner coordinates. The SpatialReference of the new envelope is initialized to null.

Applies to

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

CreateWithM(Double, Double, Double, Double, Double, Double, Double, Double, SpatialReference)

Creates an envelope based on the x, y, z and m values in the given SpatialReference.

Declaration
public static Envelope CreateWithM(double xMin, double yMin, double xMax, double yMax, double zMin, double zMax, double mMin, double mMax, SpatialReference spatialReference)
Parameters
Type Name Description
Double xMin

The minimal x-value.

Double yMin

The minimal y-value.

Double xMax

The maximum x-value.

Double yMax

The maximum y-value.

Double zMin

The minimal z-value.

Double zMax

The maximum z-value.

Double mMin

The minimal m-value.

Double mMax

The maximum m-value.

SpatialReference spatialReference

The spatial reference for the envelope.

Returns
Type Description
Envelope

The envelope.

Remarks

If the values for min parameters are bigger than max parameters then they are re-ordered. The resulting envelope always has min less than or equal to max. Resulting envelope will span the volume between two diagonal corner coordinates.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14
In This Article
Back to top Copyright © 2021 Esri.