Class CoordinateCountFilter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int n  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(Coordinate coord)
      Performs an operation with the 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
    • Field Detail

      • n

        private int n
    • 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 coord. There is no guarantee that the coordinate is the actual object stored in the target geometry.
        Specified by:
        filter in interface CoordinateFilter
        Parameters:
        coord - a Coordinate to which the filter is applied.