Constructor Envelope
Envelope(MapPoint, MapPoint)
Initializes a new instance of the Envelope class from given diagonal corner points.
Declaration
public Envelope(MapPoint point1, MapPoint point2)
Parameters
Remarks
The Spatial
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Envelope(Double, Double, Double, Double)
Initializes a new instance of the Envelope class from given diagonal corner coordinates.
Declaration
public Envelope(double x1, double y1, double x2, double y2)
Parameters
Type | Name | Description |
---|---|---|
System. |
x1 | First coordinate along x-axis |
System. |
y1 | First coordinate along y-axis |
System. |
x2 | Second coordinate along x-axis |
System. |
y2 | Second coordinate along y-axis |
Remarks
Resulting envelope will span the area between two diagonal corner coordinates,
determined by the min and max values for each axis.
The Spatialnull
.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Envelope(Double, Double, Double, Double, SpatialReference)
Initializes a new instance of the Envelope class
from given diagonal corner coordinates in the given Spatial
Declaration
public Envelope(double x1, double y1, double x2, double y2, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
System. |
x1 | First coordinate along x-axis |
System. |
y1 | First coordinate along y-axis |
System. |
x2 | Second coordinate along x-axis |
System. |
y2 | Second coordinate along y-axis |
Spatial |
spatialReference | Spatial reference in which coordinates are defined. |
Remarks
Resulting envelope will span the area between two diagonal corner coordinates, determined by the min and max values for each axis.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Envelope(Double, Double, Double, Double, Double, Double)
Initializes a new instance of the Envelope class based on the x, y, and z values.
Declaration
public Envelope(double xMin, double yMin, double xMax, double yMax, double zMin, double zMax)
Parameters
Type | Name | Description |
---|---|---|
System. |
xMin | The minimal x-value. |
System. |
yMin | The minimal y-value. |
System. |
xMax | The maximum x-value. |
System. |
yMax | The maximum y-value. |
System. |
zMin | The minimal z-value. |
System. |
zMax | The maximum z-value. |
Remarks
If the values for min parameters are bigger than 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 points.
The Spatialnull
.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Envelope(Double, Double, Double, Double, Double, Double, SpatialReference)
Initializes a new instance of the Envelope class based on the x, y, and z values
in the given Spatial
Declaration
public Envelope(double xMin, double yMin, double xMax, double yMax, double zMin, double zMax, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
System. |
xMin | The minimal x-value. |
System. |
yMin | The minimal y-value. |
System. |
xMax | The maximum x-value. |
System. |
yMax | The maximum y-value. |
System. |
zMin | The minimal z-value. |
System. |
zMax | The maximum z-value. |
Spatial |
spatialReference | The spatial reference for the envelope. |
Remarks
If the values for min parameters are bigger than 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 points.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Envelope(MapPoint, Double, Double)
Initializes a new instance of the Envelope class from a center point, with a defined width and height.
Declaration
public Envelope(MapPoint center, double width, double height)
Parameters
Type | Name | Description |
---|---|---|
Map |
center | The center point for the envelope. |
System. |
width | The width of the envelope. |
System. |
height | The height of the envelope. |
Remarks
The Spatialcenter
point. This spatial reference also determines
the unit of measure for the specified width
and height
values
(see Unit).
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |
Envelope(MapPoint, Double, Double, Double)
Initializes a new instance of the Envelope class from a center point, with a defined width, height, and depth.
Declaration
public Envelope(MapPoint center, double width, double height, double depth)
Parameters
Type | Name | Description |
---|---|---|
Map |
center | The center point for the envelope. |
System. |
width | The width of the envelope. |
System. |
height | The height of the envelope. |
System. |
depth | The depth of the envelope. |
Remarks
The Spatialcenter
point. This spatial reference also determines the unit of measure
for the specified width
and height
values
(see Unit).
The depth
parameter value is assumed to be in meters.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |