Share via


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
Protected method Geometry Initializes a new instance of the Geometry class.

Top

Properties

  Name Description
Public property CoordinateSystem Gets the SRID of this instance of geometry.
Public property IsEmpty Gets a value that indicates whether geometry is empty.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SendTo Sends the current spatial object to the given pipeline.
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method Distance Determines the distance of the geometry. (Defined by GeometryOperationsExtensions.)
Public Extension Method 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.

See Also

Reference

System.Spatial Namespace