Coordinate

A geographic location in degrees.
public readonly record struct Coordinate(double Latitude, double Longitude)

Constructors

Initializes a new instance of the Coordinate struct.

public Coordinate(
  double Latitude,
  double Longitude)
ParameterSummary
double LatitudeDegrees north of the equator, negative for south.
double LongitudeDegrees east of the prime meridian, negative for west.

Properties

Latitude

Degrees north of the equator, negative for south.

Type: double

public double Latitude { get; init; }

Longitude

Degrees east of the prime meridian, negative for west.

Type: double

public double Longitude { get; init; }