com.vividsolutions.jts.util
Class UniqueCoordinateArrayFilter

java.lang.Object
  extended bycom.vividsolutions.jts.util.UniqueCoordinateArrayFilter
All Implemented Interfaces:
CoordinateFilter

public class UniqueCoordinateArrayFilter
extends java.lang.Object
implements CoordinateFilter

A CoordinateFilter that builds a set of Coordinates. The set of coordinates contains no duplicate points.

Version:
1.7

Constructor Summary
UniqueCoordinateArrayFilter()
           
 
Method Summary
 void filter(Coordinate coord)
          Performs an operation with or on coord.
 Coordinate[] getCoordinates()
          Returns the gathered Coordinates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniqueCoordinateArrayFilter

public UniqueCoordinateArrayFilter()
Method Detail

getCoordinates

public Coordinate[] getCoordinates()
Returns the gathered Coordinates.

Returns:
the Coordinates collected by this CoordinateArrayFilter

filter

public void filter(Coordinate coord)
Description copied from interface: CoordinateFilter
Performs an operation with or on coord.

Specified by:
filter in interface CoordinateFilter
Parameters:
coord - a Coordinate to which the filter is applied.