Interface for classes which provide operations that can be applied to the coordinates in a {@link CoordinateSequence}. A CoordinateSequence filter can either record information about each coordinate or change the coordinate in some way. CoordinateSequence filters can be used to implement such things as coordinate transformations, centroid and envelope computation, and many other functions. For maximum efficiency, the execution of filters can be short-circuited. {@link Geometry} classes support the concept of applying a
CoordinateSequenceFilter
to each {@link CoordinateSequence}s they contain.
CoordinateSequenceFilter
is an example of the Gang-of-Four Visitor pattern.
@see Geometry#apply(CoordinateSequenceFilter)
@author Martin Davis
@version 1.7