Share via


GeometryCollection Class

Represents the geometry collection.

Inheritance Hierarchy

System.Object
  System.Spatial.Geometry
    System.Spatial.GeometryCollection
      System.Spatial.GeometryMultiCurve
      System.Spatial.GeometryMultiPoint
      System.Spatial.GeometryMultiSurface

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

Syntax

'Declaration
Public MustInherit Class GeometryCollection _
    Inherits Geometry
'Usage
Dim instance As GeometryCollection
public abstract class GeometryCollection : Geometry
public ref class GeometryCollection abstract : public Geometry
[<AbstractClassAttribute>]
type GeometryCollection =  
    class 
        inherit Geometry 
    end
public abstract class GeometryCollection extends Geometry

The GeometryCollection type exposes the following members.

Constructors

  Name Description
Protected method GeometryCollection Initializes a new instance of the GeometryCollection class.

Top

Properties

  Name Description
Public property CoordinateSystem Gets the SRID of this instance of geometry. (Inherited from Geometry.)
Public property Geometries Gets the geometry instances in this collection.
Public property IsEmpty Gets a value that indicates whether geometry is empty. (Inherited from Geometry.)

Top

Methods

  Name Description
Public method Equals(Object) Determines whether this instance and the specified object have the same value. (Overrides Object.Equals(Object).)
Public method Equals(GeometryCollection) Determines whether this instance and another specified geometry instance have the same value.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets the hash code. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SendTo Sends the current spatial object to the given pipeline. (Inherited from Geometry.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method Distance Determines the distance of the geometry. (Defined by GeometryOperationsExtensions.)

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