com.vividsolutions.jts.util
public class CoordinateCountFilter extends java.lang.Object implements CoordinateFilter
CoordinateFilter that counts the total number of coordinates
in a Geometry.| Constructor and Description |
|---|
CoordinateCountFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
filter(Coordinate coord)
Performs an operation with or on
coord. |
int |
getCount()
Returns the result of the filtering.
|
public int getCount()
CoordinateCountFilterpublic void filter(Coordinate coord)
CoordinateFiltercoord.filter in interface CoordinateFiltercoord - a Coordinate to which the filter is applied.