Share via


GeographyPosition Class

Definition

Represents one position in the Geographyal coordinate system

public class GeographyPosition : IEquatable<Microsoft.Spatial.GeographyPosition>
type GeographyPosition = class
    interface IEquatable<GeographyPosition>
Public Class GeographyPosition
Implements IEquatable(Of GeographyPosition)
Inheritance
GeographyPosition
Implements

Constructors

GeographyPosition(Double, Double, Nullable<Double>, Nullable<Double>)

Creates a new instance of the GeographyPosition class from components.

GeographyPosition(Double, Double)

Creates a new instance of the GeographyPosition class from components.

Properties

Latitude

Gets the latitude portion of a position.

Longitude

Gets the longitude portion of a position.

M

Gets the arbitrary measure associated with a position.

Z

Gets the altitude portion of a position.

Methods

Equals(GeographyPosition)

Performs equality comparison on a spatial geographic position.

Equals(Object)

Performs equality comparison on an object.

GetHashCode()

Computes a hash code.

ToString()

Formats this instance to a readable string.

Operators

Equality(GeographyPosition, GeographyPosition)

Performs equality comparison.

Inequality(GeographyPosition, GeographyPosition)

Performs inequality comparison.

Applies to