GeographyPoint 类

表示地理点。

继承层次结构

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

命名空间:  System.Spatial
程序集:  System.Spatial(在 System.Spatial.dll 中)

语法

声明
Public MustInherit Class GeographyPoint _
    Inherits Geography
用法
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

GeographyPoint 类型公开以下成员。

构造函数

  名称 说明
受保护方法 GeographyPoint 初始化 GeographyPoint 类的新实例。

页首

属性

  名称 说明
公共属性 CoordinateSystem 获取地理坐标系。 (从 Geography 继承。)
公共属性 IsEmpty 获取一个值,该值指示地理是否为空。 (从 Geography 继承。)
公共属性 Latitude 获取纬度。
公共属性 Longitude 获取经度。
公共属性 M 获取可为 null 的 M。
公共属性 Z 获取可为 null 的 Z。

页首

方法

  名称 说明
公共方法静态成员 Create(Double, Double) 使用指定的纬度和经度创建地理点。
公共方法静态成员 Create(Double, Double, Nullable<Double>) 使用指定的纬度、经度和维度创建地理点。
公共方法静态成员 Create(Double, Double, Nullable<Double>, Nullable<Double>) 使用指定的纬度、经度和维度创建地理点。
公共方法静态成员 Create(CoordinateSystem, Double, Double, Nullable<Double>, Nullable<Double>) 使用指定的坐标系、纬度、经度和维度创建地理点。
公共方法 Equals(Object) 确定此实例和指定对象是否具有相同的值。 (覆盖 Object.Equals(Object)。)
公共方法 Equals(GeographyPoint) 确定此实例和另一指定地理实例是否具有相同的值。
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode 获取哈希代码。 (覆盖 Object.GetHashCode()。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 SendTo 将当前空间对象发送到给定管道。 (从 Geography 继承。)
公共方法 ToString (从 Object 继承。)

页首

扩展方法

  名称 说明
公共扩展方法 Distance 确定地理距离。 (由 GeographyOperationsExtensions 定义。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

System.Spatial 命名空间