Class UniqueCoordinateArrayFilter
A ICoordinateFilter
that extracts a unique array ofCoordinate
s.
The array of coordinates contains no duplicate points.
It preserves the order of the input points.
Implements
Inherited Members
Namespace: NetTopologySuite.Utilities
Assembly: NetTopologySuite.dll
Syntax
public class UniqueCoordinateArrayFilter : ICoordinateFilter
Properties
| Improve this Doc View SourceCoordinates
Returns the gathered Coordinates.
Declaration
public Coordinate[] Coordinates { get; }
Property Value
Type | Description |
---|---|
Coordinate[] | The |
Methods
| Improve this Doc View SourceFilter(Coordinate)
Declaration
public void Filter(Coordinate coord)
Parameters
Type | Name | Description |
---|---|---|
Coordinate | coord |
FilterCoordinates(Coordinate[])
Convenience method which allows running the filter over an array of Coordinates.
Declaration
public static Coordinate[] FilterCoordinates(Coordinate[] coords)
Parameters
Type | Name | Description |
---|---|---|
Coordinate[] | coords | an array of coordinates |
Returns
Type | Description |
---|---|
Coordinate[] | an array of the unique coordinates |