Table of Contents

Class ConnectedElementLocationFilter

Namespace
NetTopologySuite.Operation.Distance
Assembly
NetTopologySuite.dll

A ConnectedElementPointFilter extracts a single point from each connected element in a Geometry (e.g. a polygon, linestring or point) and returns them in a list. The elements of the list are GeometryLocations. Empty geometries do not provide a location item.

public class ConnectedElementLocationFilter : IGeometryFilter
Inheritance
ConnectedElementLocationFilter
Implements
Inherited Members

Methods

Filter(Geometry)

public void Filter(Geometry geom)

Parameters

geom Geometry

GetLocations(Geometry)

Returns a list containing a point from each Polygon, LineString, and Point found inside the specified point. Thus, if the specified point is not a GeometryCollection, an empty list will be returned. The elements of the list are GeometryLocations.

public static IList<GeometryLocation> GetLocations(Geometry geom)

Parameters

geom Geometry

Returns

IList<GeometryLocation>