#include <CoordinateSequenceFilter.h>
Inherited by geos::algorithm::distance::DiscreteHausdorffDistance::MaxDensifiedByFractionDistanceFilter.
Public Member Functions | |
| virtual void | filter_rw (CoordinateSequence &, size_t) |
| virtual void | filter_ro (const CoordinateSequence &, size_t) |
| virtual bool | isDone () const =0 |
| virtual bool | isGeometryChanged () const =0 |
CoordinateSequenceFilter to each CoordinateSequences they contain.
CoordinateSequenceFilter is an example of the Gang-of-Four Visitor pattern.
Geometry::apply_rw(CoordinateSequenceFilter)
| virtual void geos::geom::CoordinateSequenceFilter::filter_rw | ( | CoordinateSequence & | , | |
| size_t | ||||
| ) | [inline, virtual] |
Performs an operation on a coordinate in a CoordinateSequence.
| seq | the CoordinateSequence to which the filter is applied | |
| i | the index of the coordinate to apply the filter to |
| virtual void geos::geom::CoordinateSequenceFilter::filter_ro | ( | const CoordinateSequence & | , | |
| size_t | ||||
| ) | [inline, virtual] |
Performs an operation on a coordinate in a CoordinateSequence.
| seq | the CoordinateSequence to which the filter is applied | |
| i | the index of the coordinate to apply the filter to |
| virtual bool geos::geom::CoordinateSequenceFilter::isDone | ( | ) | const [pure virtual] |
Reports whether the application of this filter can be terminated. Once this method returns false, it should continue to return false on every subsequent call.
| virtual bool geos::geom::CoordinateSequenceFilter::isGeometryChanged | ( | ) | const [pure virtual] |
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.
1.5.4