GeographicPosition Structure

Represents one position in the geographical coordinate system.

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

Syntax

'Declaration
Public Structure GeographicPosition _
    Implements IEquatable(Of GeographicPosition)
'Usage
Dim instance As GeographicPosition
public struct GeographicPosition : IEquatable<GeographicPosition>
public value class GeographicPosition : IEquatable<GeographicPosition>
[<SealedAttribute>]
type GeographicPosition =  
    struct
        interface IEquatable<GeographicPosition>
    end
JScript suports the use of structures, but not the declaration of new ones.

The GeographicPosition type exposes the following members.

Constructors

  Name Description
Public method GeographicPosition Creates a new instance of the GeographicPosition class.

Top

Properties

  Name Description
Public property Latitude The latitude portion of a position.
Public property Longitude The longitude portion of a position.
Public property M The arbitrary measure associated with a position.
Public property Z The altitude portion of a position.

Top

Methods

  Name Description
Public method Equals(Object) Performs equality comparison on an object. (Overrides ValueType..::..Equals(Object).)
Public method Equals(GeographicPosition) Performs equality comparison on a spatial geographic position.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Computes a hash code. (Overrides ValueType..::..GetHashCode() () () ().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Performs equality comparison.
Public operatorStatic member Inequality Performs inequality comparison.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Spatial Namespace