Extracts all the 0-dimensional (Point
) components from a Geometry
.
Inheritance
PointExtracter
Assembly: NetTopologySuite.dll
public class PointExtracter : IGeometryFilter
Constructors
|
Improve this Doc
View Source
Constructs a PointExtracterFilter with a list in which to store Points found.
Declaration
public PointExtracter(ICollection<Geometry> pts)
Parameters
Methods
|
Improve this Doc
View Source
Declaration
public void Filter(Geometry geom)
Parameters
|
Improve this Doc
View Source
Declaration
public static ReadOnlyCollection<Geometry> GetPoints(Geometry geom)
Parameters
Type |
Name |
Description |
Geometry |
geom |
the geometry from which to extract
|
Returns
|
Improve this Doc
View Source
Declaration
public static TCollection GetPoints<TCollection>(Geometry geom, TCollection list)
where TCollection : ICollection<Geometry>
Parameters
Type |
Name |
Description |
Geometry |
geom |
The geometry from which to extract
|
TCollection |
list |
The list to add the extracted elements to
|
Returns
Type |
Description |
TCollection |
|
Type Parameters
Name |
Description |
TCollection |
|
Implements