Interface CoordinateSequenceFilter

    • Method Detail

      • filter

        void filter​(CoordinateSequence seq,
                    int i)
        Performs an operation on a coordinate in a CoordinateSequence.
        Parameters:
        seq - the CoordinateSequence to which the filter is applied
        i - the index of the coordinate to apply the filter to
      • isDone

        boolean isDone()
        Reports whether the application of this filter can be terminated. Once this method returns true, it must continue to return true on every subsequent call.
        Returns:
        true if the application of this filter can be terminated.
      • isGeometryChanged

        boolean isGeometryChanged()
        Reports whether the execution of this filter has modified the coordinates of the geometry. If so, Geometry.geometryChanged() will be executed after this filter has finished being executed.

        Most filters can simply return a constant value reflecting whether they are able to change the coordinates.

        Returns:
        true if this filter has changed the coordinates of the geometry