GeographyPoint Class

Represents a geography point.

Inheritance Hierarchy

System.Object
  System.Spatial.Geography
    System.Spatial.GeographyPoint

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

Syntax

'Declaration
Public MustInherit Class GeographyPoint _
    Inherits Geography
'Usage
Dim instance As GeographyPoint
public abstract class GeographyPoint : Geography
public ref class GeographyPoint abstract : public Geography
[<AbstractClassAttribute>]
type GeographyPoint =  
    class 
        inherit Geography 
    end
public abstract class GeographyPoint extends Geography

The GeographyPoint type exposes the following members.

Constructors

  Name Description
Protected method GeographyPoint Initializes a new instance of the GeographyPoint class.

Top

Properties

  Name Description
Public property CoordinateSystem Gets the coordinate system of the geography. (Inherited from Geography.)
Public property IsEmpty Gets a value that indicates whether the geography is empty. (Inherited from Geography.)
Public property Latitude Gets the latitude.
Public property Longitude Gets the longitude.
Public property M Gets the nullable M.
Public property Z Gets the nullable Z.

Top

Methods

  Name Description
Public methodStatic member Create(Double, Double) Creates a geography point using the specified latitude and longitude.
Public methodStatic member Create(Double, Double, Nullable<Double>) Creates a geography point using the specified latitude, longitude and dimension.
Public methodStatic member Create(Double, Double, Nullable<Double>, Nullable<Double>) Creates a geography point using the specified latitude, longitude and dimensions.
Public methodStatic member Create(CoordinateSystem, Double, Double, Nullable<Double>, Nullable<Double>) Creates a geography point using the specified coordinate system, latitude, longitude and dimensions.
Public method Equals(Object) Determines whether this instance and the specified object have the same value. (Overrides Object.Equals(Object).)
Public method Equals(GeographyPoint) Determines whether this instance and another specified geography instance have the same value.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets the hash code. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SendTo Sends the current spatial object to the given pipeline. (Inherited from Geography.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method Distance Determines the distance of the geography. (Defined by GeographyOperationsExtensions.)

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