Class GeometryExtracterByTypeName
Extracts the components of type T
from a Geometry.
Implements
Inherited Members
Namespace: NetTopologySuite.Geometries.Utilities
Assembly: NetTopologySuite.dll
Syntax
public class GeometryExtracterByTypeName : IGeometryFilter
Constructors
| Improve this Doc View SourceGeometryExtracterByTypeName(String, IList<Geometry>)
Constructs a filter with a list in which to store the elements found.
Declaration
public GeometryExtracterByTypeName(string geometryType, IList<Geometry> comps)
Parameters
Type | Name | Description |
---|---|---|
String | geometryType | Geometry type to extract (null means all types) |
IList<Geometry> | comps | The list to extract into |
Methods
| Improve this Doc View SourceFilter(Geometry)
Declaration
public void Filter(Geometry geom)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geom |
IsOfType(Geometry, String)
Y
Declaration
protected static bool IsOfType(Geometry geom, string geometryType)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geom | |
String | geometryType |
Returns
Type | Description |
---|---|
Boolean |