GeoPosition Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a single spatial position with latitude, longitude, and optional altitude.
public readonly struct GeoPosition : IEquatable<Azure.Core.GeoJson.GeoPosition>
type GeoPosition = struct
Public Structure GeoPosition
Implements IEquatable(Of GeoPosition)
- Inheritance
-
GeoPosition
- Implements
Constructors
GeoPosition(Double, Double, Nullable<Double>) |
Initializes a new instance of GeoPosition. |
GeoPosition(Double, Double) |
Initializes a new instance of GeoPosition. |
Properties
Altitude |
Gets the altitude of the position. |
Count |
Returns the count of the coordinate components. |
Item[Int32] |
Get the value of coordinate component using its index. |
Latitude |
Gets the latitude of the position. |
Longitude |
Gets the longitude of the position. |
Methods
Equals(GeoPosition) |
Indicates whether the current object is equal to another object of the same type. |
Equals(Object) |
Indicates whether this instance and a specified object are equal. |
GetHashCode() |
Returns the hash code for this instance. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(GeoPosition, GeoPosition) |
Determines whether two specified positions have the same value. |
Inequality(GeoPosition, GeoPosition) |
Determines whether two specified positions have the same value. |
Applies to
Azure SDK for .NET