Class GeometryExtracter
- Namespace
- NetTopologySuite.Geometries.Utilities
- Assembly
- NetTopologySuite.dll
Extracts the components of a given type from a Geometry.
public static class GeometryExtracter
- Inheritance
-
GeometryExtracter
- Inherited Members
Methods
Extract(Geometry, string)
Extracts the components of geometryType from a Geometry
public static IList<Geometry> Extract(Geometry geom, string geometryType)
Parameters
geom
GeometryThe geometry from which to extract
geometryType
stringGeometry type to extract (null or all white-space means all types)
Returns
Extract(Geometry, string, IList<Geometry>)
public static IList<Geometry> Extract(Geometry geom, string geometryType, IList<Geometry> list)
Parameters
geom
GeometryThe geometry from which to extract
geometryType
stringGeometry type to extract (null or all white-space means all types)
list
IList<Geometry>The list to add the extracted elements to
Returns
Extract<T>(Geometry)
public static IList<Geometry> Extract<T>(Geometry geom) where T : Geometry
Parameters
geom
Geometrythe geometry from which to extract
Returns
Type Parameters
T
Extract<T>(Geometry, IList<Geometry>)
public static IList<Geometry> Extract<T>(Geometry geom, IList<Geometry> list) where T : Geometry
Parameters
geom
Geometrythe geometry from which to extract
list
IList<Geometry>the list to add the extracted elements to
Returns
Type Parameters
T
The geometry type to extract