This class offers utility methods to extract single component
geometries of requested type from ordinary geometries.
Assembly: NetTopologySuite.dll
public static class Extracter
Methods
|
Edit this page
View Source
Declaration
public static IList<LineString> GetLines(Geometry geom)
Parameters
Type |
Name |
Description |
Geometry |
geom |
The geometry from which to extract
|
Returns
|
Edit this page
View Source
Declaration
public static IList<LineString> GetLines(Geometry geom, IList<LineString> list)
Parameters
Type |
Name |
Description |
Geometry |
geom |
The geometry from which to extract
|
IList<LineString> |
list |
The list to add the extracted elements to
|
Returns
|
Edit this page
View Source
Declaration
public static IList<Point> GetPoints(Geometry geom)
Parameters
Type |
Name |
Description |
Geometry |
geom |
The geometry from which to extract
|
Returns
|
Edit this page
View Source
Declaration
public static IList<Point> GetPoints(Geometry geom, IList<Point> list)
Parameters
Type |
Name |
Description |
Geometry |
geom |
The geometry from which to extract
|
IList<Point> |
list |
The list to add the extracted elements to
|
Returns
|
Edit this page
View Source
Declaration
public static IList<Polygon> GetPolygons(Geometry geom)
Parameters
Type |
Name |
Description |
Geometry |
geom |
The geometry from which to extract
|
Returns
|
Edit this page
View Source
Declaration
public static IList<Polygon> GetPolygons(Geometry geom, IList<Polygon> list)
Parameters
Type |
Name |
Description |
Geometry |
geom |
The geometry from which to extract
|
IList<Polygon> |
list |
The list to add the extracted elements to
|
Returns
See Also