Click or drag to resize

Coordinates Structure

WGS-84 coordinates in degrees.

Namespace:  TomsToolbox.Wpf
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
public struct Coordinates : IEquatable<Coordinates>

The Coordinates type exposes the following members.

Constructors
  NameDescription
Public methodCoordinates
Initializes a new instance of the Coordinates structure.
Top
Properties
  NameDescription
Public propertyLatitude
Gets or sets the latitude in degrees.
Public propertyLongitude
Gets or sets the longitude in degrees.
Top
Methods
  NameDescription
Public methodStatic memberCoordinatesToPoint
Converts a point from latitude/longitude WGS-84 coordinates (in degrees) into logical XY coordinates in the range 0..1
Public methodEquals(Coordinates)
Determines whether the specified Coordinates is equal to this instance.
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodStatic memberPointToCoordinates
Converts a point from logical coordinates in the range 0..1 into latitude/longitude WGS-84 coordinates (in degrees).
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic member(Coordinates to Point)
Converts a point from WGS-84 coordinates (in degrees) into logical XY coordinates in the range 0..1.
Public operatorStatic member(Point to Coordinates)
Converts a point from logical coordinates in the range 0..1 into latitude/longitude WGS-84 coordinates (in degrees).
Public operatorStatic memberInequality
Implements the operator !=.
Top
Extension Methods
See Also