表示地理坐标系中的一个位置。
继承层次结构
System.Object
System.Spatial.GeographyPosition
命名空间: System.Spatial
程序集: System.Spatial(在 System.Spatial.dll 中)
语法
声明
Public Class GeographyPosition _
Implements IEquatable(Of GeographyPosition)
用法
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>
GeographyPosition 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
GeographyPosition(Double, Double) | 利用组件创建 GeographyPosition 类的新实例。 |
![]() |
GeographyPosition(Double, Double, Nullable<Double>, Nullable<Double>) | 利用组件创建 GeographyPosition 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
Latitude | 获取位置的纬度部分。 |
![]() |
Longitude | 获取位置的经度部分。 |
![]() |
M | 获取与位置相关的任意度量。 |
![]() |
Z | 获取位置的纬度部分。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals(Object) | 对一个对象执行相等比较。 (覆盖 Object.Equals(Object)。) |
![]() |
Equals(GeographyPosition) | 对一个空间地理位置执行相等比较。 |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | 计算哈希代码。 (覆盖 Object.GetHashCode()。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
ToString | 将此实例格式化可读取的字符串。 (覆盖 Object.ToString()。) |
页首
运算符
名称 | 说明 | |
---|---|---|
![]() ![]() |
Equality | 执行相等比较。 |
![]() ![]() |
Inequality | 执行不相等比较。 |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。