<PackageReference Include="Azure.Core" Version="1.49.0" />

GeoPosition

Represents a single spatial position with latitude, longitude, and optional altitude.
public double? Altitude { get; }

Gets the altitude of the position.

public int Count { get; }

Returns the count of the coordinate components.

public double this[int index] { get; }

Get the value of coordinate component using its index.

public double Latitude { get; }

Gets the latitude of the position.

public double Longitude { get; }

Gets the longitude of the position.

public GeoPosition(double longitude, double latitude)

Initializes a new instance of GeoPosition.

public GeoPosition(double longitude, double latitude, double? altitude)

Initializes a new instance of GeoPosition.

public static bool op_Equality(GeoPosition left, GeoPosition right)

Determines whether two specified positions have the same value.

public static bool op_Inequality(GeoPosition left, GeoPosition right)

Determines whether two specified positions have the same value.

public bool Equals(GeoPosition other)

Indicates whether the current object is equal to another object of the same type.