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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。