表示地理形状的基类。
继承层次结构
System.Object
System.Spatial.Geometry
System.Spatial.GeometryCollection
System.Spatial.GeometryCurve
System.Spatial.GeometryPoint
System.Spatial.GeometrySurface
命名空间: System.Spatial
程序集: System.Spatial(在 System.Spatial.dll 中)
语法
声明
Public MustInherit Class Geometry _
Implements ISpatial
用法
Dim instance As Geometry
public abstract class Geometry : ISpatial
public ref class Geometry abstract : ISpatial
[<AbstractClassAttribute>]
type Geometry =
class
interface ISpatial
end
public abstract class Geometry implements ISpatial
Geometry 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
Geometry | 初始化 Geometry 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
CoordinateSystem | 获取此几何实例的 SRID。 |
![]() |
IsEmpty | 获取一个值,该值指示几何是否为空。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
SendTo | 将当前空间对象发送到给定管道。 |
![]() |
ToString | (从 Object 继承。) |
页首
扩展方法
名称 | 说明 | |
---|---|---|
![]() |
Distance | 确定几何距离。 (由 GeometryOperationsExtensions 定义。) |
![]() |
SendTo | 允许针对合适的类型(Geography 或 Geometry)的调用的委托。 (由 SpatialTypeExtensions 定义。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。