Class BoundingBox
A geographic bounding rectangle in decimal degrees, WGS-84 (EPSG:4326). Edges are stored independently as south / west / north / east so that JSON consumers cannot confuse the latitude and longitude ordering.
public sealed record BoundingBox : IEquatable<BoundingBox>
- Inheritance
-
BoundingBox
- Implements
- Inherited Members
Constructors
BoundingBox(double, double, double, double)
Creates a new BoundingBox.
public BoundingBox(double southLatitude, double westLongitude, double northLatitude, double eastLongitude)
Parameters
southLatitudedoubleSouth edge (decimal degrees, WGS-84).
westLongitudedoubleWest edge (decimal degrees, WGS-84).
northLatitudedoubleNorth edge (decimal degrees, WGS-84).
eastLongitudedoubleEast edge (decimal degrees, WGS-84).
Properties
EastLongitude
East edge of the rectangle.
public double EastLongitude { get; }
Property Value
NorthLatitude
North edge of the rectangle.
public double NorthLatitude { get; }
Property Value
SouthLatitude
South edge of the rectangle.
public double SouthLatitude { get; }
Property Value
WestLongitude
West edge of the rectangle.
public double WestLongitude { get; }