Geometry Class
Represents the base class of geography shapes.
Inheritance Hierarchy
System.Object
System.Spatial.Geometry
System.Spatial.GeometryCollection
System.Spatial.GeometryCurve
System.Spatial.GeometryPoint
System.Spatial.GeometrySurface
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
Public MustInherit Class Geometry _
Implements ISpatial
'Usage
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
The Geometry type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Geometry | Initializes a new instance of the Geometry class. |
Top
Properties
Name | Description | |
---|---|---|
CoordinateSystem | Gets the SRID of this instance of geometry. | |
IsEmpty | Gets a value that indicates whether geometry is empty. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SendTo | Sends the current spatial object to the given pipeline. | |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
Distance | Determines the distance of the geometry. (Defined by GeometryOperationsExtensions.) | |
SendTo | Allows the delegation of the call to the proper type (geography or Geometry). (Defined by SpatialTypeExtensions.) |
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.