Coordinates Structure |
The Coordinates type exposes the following members.
| Name | Description | |
|---|---|---|
| Coordinates | Initializes a new instance of the Coordinates structure. |
| Name | Description | |
|---|---|---|
| Latitude | Gets or sets the latitude in degrees. | |
| Longitude | Gets or sets the longitude in degrees. |
| Name | Description | |
|---|---|---|
| CoordinatesToPoint | Converts a point from latitude/longitude WGS-84 coordinates (in degrees) into logical XY coordinates in the range 0..1 | |
| Equals(Coordinates) | Determines whether the specified Coordinates is equal to this instance. | |
| Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object)) | |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode) | |
| PointToCoordinates | Converts a point from logical coordinates in the range 0..1 into latitude/longitude WGS-84 coordinates (in degrees). | |
| ToString |
Returns a String that represents this instance.
(Overrides ValueTypeToString) |
| Name | Description | |
|---|---|---|
| Equality(Coordinates, Coordinates) | Implements the operator ==. | |
| (Coordinates to Point) | Converts a point from WGS-84 coordinates (in degrees) into logical XY coordinates in the range 0..1. | |
| (Point to Coordinates) | Converts a point from logical coordinates in the range 0..1 into latitude/longitude WGS-84 coordinates (in degrees). | |
| Inequality(Coordinates, Coordinates) | Implements the operator !=. |
| Name | Description | |
|---|---|---|
| SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) |