Class GeometryExtracter
Extracts the components of a given type from a Geometry.
Inherited Members
Namespace: NetTopologySuite.Geometries.Utilities
Assembly: NetTopologySuite.dll
Syntax
public static class GeometryExtracter
Methods
| Improve this Doc View SourceExtract(Geometry, String)
Extracts the components of geometryType from a Geometry
Declaration
public static IList<Geometry> Extract(Geometry geom, string geometryType)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geom | The geometry from which to extract |
String | geometryType | Geometry type to extract (null or all white-space means all types) |
Returns
Type | Description |
---|---|
IList<Geometry> |
Extract(Geometry, String, IList<Geometry>)
Declaration
public static IList<Geometry> Extract(Geometry geom, string geometryType, IList<Geometry> list)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geom | The geometry from which to extract |
String | geometryType | Geometry type to extract (null or all white-space means all types) |
IList<Geometry> | list | The list to add the extracted elements to |
Returns
Type | Description |
---|---|
IList<Geometry> |
Extract<T>(Geometry)
Declaration
public static IList<Geometry> Extract<T>(Geometry geom)
where T : Geometry
Parameters
Type | Name | Description |
---|---|---|
Geometry | geom | the geometry from which to extract |
Returns
Type | Description |
---|---|
IList<Geometry> |
Type Parameters
Name | Description |
---|---|
T |
Extract<T>(Geometry, IList<Geometry>)
Declaration
public static IList<Geometry> Extract<T>(Geometry geom, IList<Geometry> list)
where T : Geometry
Parameters
Type | Name | Description |
---|---|---|
Geometry | geom | the geometry from which to extract |
IList<Geometry> | list | the list to add the extracted elements to |
Returns
Type | Description |
---|---|
IList<Geometry> |
Type Parameters
Name | Description |
---|---|
T | The geometry type to extract |