GeographyPosition Class
Represents one position in the geographical coordinate system.
Inheritance Hierarchy
System.Object
System.Spatial.GeographyPosition
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
Public Class GeographyPosition _
Implements IEquatable(Of GeographyPosition)
'Usage
Dim instance As GeographyPosition
public class GeographyPosition : IEquatable<GeographyPosition>
public ref class GeographyPosition : IEquatable<GeographyPosition^>
type GeographyPosition =
class
interface IEquatable<GeographyPosition>
end
public class GeographyPosition implements IEquatable<GeographyPosition>
The GeographyPosition type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GeographyPosition(Double, Double) | Creates a new instance of the GeographyPosition class from components. | |
GeographyPosition(Double, Double, Nullable<Double>, Nullable<Double>) | Creates a new instance of the GeographyPosition class from components. |
Top
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Performs equality comparison on an object. (Overrides Object.Equals(Object).) | |
Equals(GeographyPosition) | Performs equality comparison on a spatial geographic position. | |
Finalize | (Inherited from Object.) | |
GetHashCode | Computes a hash code. (Overrides Object.GetHashCode().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Formats this instance to a readable string. (Overrides Object.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Performs equality comparison. | |
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.