CoordinateFilter
public class CoordinateCountFilter extends java.lang.Object implements CoordinateFilter
CoordinateFilter
that counts the total number of coordinates
in a Geometry
.Constructor | Description |
---|---|
CoordinateCountFilter() |
Modifier and Type | Method | Description |
---|---|---|
void |
filter(Coordinate coord) |
Performs an operation with the
coord . |
int |
getCount() |
Returns the result of the filtering.
|
public int getCount()
CoordinateCountFilter
public void filter(Coordinate coord)
CoordinateFilter
coord
.
There is no guarantee that the coordinate is the actual object stored in the target geometry.filter
in interface CoordinateFilter
coord
- a Coordinate
to which the filter is applied.Copyright © 2018. All rights reserved.