Share via


Geometry Class

Definition

Represents the base class of geography shapes.

public abstract class Geometry : Microsoft.Spatial.ISpatial
type Geometry = class
    interface ISpatial
Public MustInherit Class Geometry
Implements ISpatial
Inheritance
Geometry
Derived
Implements

Constructors

Geometry(CoordinateSystem, SpatialImplementation)

Initializes a new instance of the Geometry class.

Properties

CoordinateSystem

Gets the SRID of this instance of geometry.

IsEmpty

Gets a value that indicates whether geometry is empty.

Methods

SendTo(GeometryPipeline)

Sends the current spatial object to the given pipeline.

Extension Methods

Distance(Geometry, Geometry)

Determines the distance of the geometry.

Intersects(Geometry, Geometry)

Determines if geometry point and polygon will intersect.

Length(Geometry)

Determines the Length of the geometry LineString.

SendTo(ISpatial, SpatialPipeline)

Allows the delegation of the call to the proper type (geography or Geometry).

Applies to