Skip to main content

Class GeoLocation

Represents a location on the surface of an ideal Earth (latitude and longitude)

Assembly: Meadow.Units.dll​
View Source​
Declaration
public record GeoLocation : IEquatable<GeoLocation>

Derived:
Meadow.Units.GeographicCoordinate

Implements:
System.IEquatable<Meadow.Units.GeoLocation>

Properties​

EarthRadius​

Idealized earth radius used for internal calculations

View Source​
Declaration
public static Length EarthRadius { get; }

Latitude​

The latitude portion of the GeoLocation

View Source​
Declaration
public double Latitude { get; set; }

Longitude​

The Longitude portion of the GeoLocation

View Source​
Declaration
public double Longitude { get; set; }

Implements​

  • System.IEquatable<Meadow.Units.GeoLocation>

Extension Methods​

  • Meadow.Units.GeoLocation.Meadow.Units.GeoLocationExtensions.BearingTo(Meadow.Units.GeoLocation)
  • Meadow.Units.GeoLocation.Meadow.Units.GeoLocationExtensions.DistanceTo(Meadow.Units.GeoLocation)
  • Meadow.Units.GeoLocation.Meadow.Units.GeoLocationExtensions.Move(Meadow.Units.Azimuth,Meadow.Units.Length)