com.vividsolutions.jts.util

Class CoordinateCountFilter

Implemented Interfaces:
CoordinateFilter

public class CoordinateCountFilter
extends java.lang.Object
implements CoordinateFilter

A CoordinateFilter that counts the total number of coordinates in a Geometry.
Version:
1.7

Constructor Summary

CoordinateCountFilter()

Method Summary

void
filter(Coordinate coord)
int
getCount()
Returns the result of the filtering.

Constructor Details

CoordinateCountFilter

public CoordinateCountFilter()

Method Details

filter

public void filter(Coordinate coord)
Specified by:
filter in interface CoordinateFilter

getCount

public int getCount()
Returns the result of the filtering.
Returns:
the number of points found by this CoordinateCountFilter