Class GeometryExtracterByTypeName
- Namespace
- NetTopologySuite.Geometries.Utilities
- Assembly
- NetTopologySuite.dll
Extracts the components of type T
from a Geometry.
public class GeometryExtracterByTypeName : IGeometryFilter
- Inheritance
-
GeometryExtracterByTypeName
- Implements
- Inherited Members
Constructors
GeometryExtracterByTypeName(string, IList<Geometry>)
Constructs a filter with a list in which to store the elements found.
public GeometryExtracterByTypeName(string geometryType, IList<Geometry> comps)
Parameters
geometryType
stringGeometry type to extract (null means all types)
comps
IList<Geometry>The list to extract into
Methods
Filter(Geometry)
public void Filter(Geometry geom)
Parameters
geom
Geometry
IsOfType(Geometry, string)
Y
protected static bool IsOfType(Geometry geom, string geometryType)