LatLonRange
Description
The LatLonRange structure represents a geographic range of latitude and longitude angles.
Wrap-around of longitude angles is handled properly. Latitude angles are implicitly clamped to [-90..90] degrees.
Public / Constants
Public / Constructors
For
4 overloads
Creates a new instance of LatLonRange which contains the given coordinates.
Creates a new instance of LatLonRange which contains the given coordinates.
Creates a new instance of LatLonRange which contains the given coordinates.
Creates a new instance of LatLonRange which contains the given coordinates.
Public / Methods
Contains
2 overloads
Checks if this range contains the given coordinates.
Checks if this range contains the given coordinates.
Grow
2 overloads
Grows this geographic range until it contains the given coordinates.
Undefined coordinate values will be ignored (see LatLon.IsUndefinedCoordinate).
Grows this geographic range until it contains the given coordinates.
Undefined coordinate values will be ignored (see LatLon.IsUndefinedCoordinate).
Public / Attributes
Start
Start of the geographic range.
The LatLon value will always be normalized (see LatLon.Normalize).