Class CoordinateCountFilter

    • Constructor Detail

      • CoordinateCountFilter

        public CoordinateCountFilter()
    • Method Detail

      • 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 the provided coord. Note that there is no guarantee that the input coordinate is the actual object stored in the source geometry, so changes to the coordinate object may not be persistent.
        Specified by:
        filter in interface CoordinateFilter
        Parameters:
        coord - a Coordinate to which the filter is applied.