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
| Edit this page 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
| Edit this page View SourceFilter(Geometry)
Performs an operation with or on geom.
Declaration
public void Filter(Geometry geom)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geom | A |
IsOfType(Geometry, string)
Y
Declaration
protected static bool IsOfType(Geometry geom, string geometryType)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geom | |
| string | geometryType |
Returns
| Type | Description |
|---|---|
| bool |