com.vividsolutions.jts.util
Class CoordinateCountFilter
java.lang.Object
com.vividsolutions.jts.util.CoordinateCountFilter
- All Implemented Interfaces:
- CoordinateFilter
public class CoordinateCountFilter
- extends Object
- implements CoordinateFilter
A CoordinateFilter
that counts the total number of coordinates
in a Geometry
.
- Version:
- 1.7
Method Summary |
void |
filter(Coordinate coord)
Performs an operation with or on coord . |
int |
getCount()
Returns the result of the filtering. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoordinateCountFilter
public CoordinateCountFilter()
getCount
public int getCount()
- Returns the result of the filtering.
- Returns:
- the number of points found by this
CoordinateCountFilter
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 © 2012. All Rights Reserved.