Class CoordinateFilter
An implementation of ICoordinateFilter that delegates the filter action to a provided method.
Implements
Inherited Members
Namespace: NetTopologySuite.Geometries
Assembly: NetTopologySuite.dll
Syntax
public class CoordinateFilter : ICoordinateFilter
Constructors
| Edit this page View SourceCoordinateFilter(Action<Coordinate>)
Creates an instance of this class providing the action to perform on any coordinate.
Declaration
public CoordinateFilter(Action<Coordinate> coordFilterAction)
Parameters
Type | Name | Description |
---|---|---|
Action<Coordinate> | coordFilterAction | The action |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | thrown if |
Methods
| Edit this page View SourceFilter(Coordinate)
Performs an operation with the provided coord
.
Note that there is no guarantee that the input coordinate
is the actual object stored in the source geometry,
so changes to the coordinate object may not be persistent.
Declaration
public void Filter(Coordinate coord)
Parameters
Type | Name | Description |
---|---|---|
Coordinate | coord | A |