GeoGeometryCollection Class
A set of geometries of any types.
public sealed class GeoGeometryCollection : GeoGeometry- Inheritance
GeoGeometryGeoGeometryCollection
Constructors
| Name | Description |
|---|---|
| GeoGeometryCollection(IEnumerable<GeoGeometry>) | Initializes a new instance of the GeoGeometryCollection class. |
GeoGeometryCollection(IEnumerable<GeoGeometry>)
GeoGeometryCollection.csInitializes a new instance of the GeoGeometryCollection class.
public GeoGeometryCollection(IEnumerable<GeoGeometry> geometries)Parameters
geometriesIEnumerable<GeoGeometry>- The geometries.
Properties
| Name | Description |
|---|---|
| Geometries | Gets the geometries. |
| Type | Gets the type of the geometry. |
Geometries
GeoGeometryCollection.csMethods
| Name | Description |
|---|---|
| GetPositions() | Gets the positions of the geometry: every position of every point, line and ring, in order. |
GetPositions()
GeoGeometryCollection.csGets the positions of the geometry: every position of every point, line and ring, in order.
public override IEnumerable<GeoPosition> GetPositions()Returns
IEnumerable<GeoPosition> The positions.