org.geotools.geometry.iso.topograph2D.util
Class UniqueCoordinateArrayFilter

java.lang.Object
  extended by org.geotools.geometry.iso.topograph2D.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.


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.


Copyright © 1996-2010 Geotools. All Rights Reserved.