Class Extracter<T>
Class to extract single instance geometries of T
Implements
Inherited Members
Namespace: NetTopologySuite.Geometries.Utilities
Assembly: NetTopologySuite.dll
Syntax
public sealed class Extracter<T> : IGeometryFilter where T : Geometry
Type Parameters
| Name | Description |
|---|---|
| T | The type of the geometries to extract |
Methods
| Edit this page View SourceFilter(Geometry)
Adds geom to the list when it is a T-geometry.
Declaration
public void Filter(Geometry geom)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geom |
GetItems(Geometry)
Declaration
public static IList<T> GetItems(Geometry geom)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geom | The geometry from which to extract |
Returns
| Type | Description |
|---|---|
| IList<T> | A list of |
GetItems(Geometry, IList<T>)
Declaration
public static IList<T> GetItems(Geometry geom, IList<T> comps)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geom | The geometry from which to extract |
| IList<T> | comps | The list to add the extracted elements to |
Returns
| Type | Description |
|---|---|
| IList<T> |
|