GEOS 3.11.1
|
#include <GeometryComponentFilter.h>
Public Member Functions | |
virtual void | filter_rw (Geometry *geom) |
virtual void | filter_ro (const Geometry *geom) |
virtual bool | isDone () |
Geometry
classes support the concept of applying a GeometryComponentFilter
filter to the Geometry
. The filter is applied to every component of the Geometry
which is itself a Geometry
. A GeometryComponentFilter
filter can either record information about the Geometry
or change the Geometry
in some way. GeometryComponentFilter
is an example of the Gang-of-Four Visitor pattern.
|
virtual |
Performs an operation with or on geom
.
geom | a Geometry to which the filter is applied. |
Reimplemented in geos::geom::util::ComponentCoordinateExtracter, and geos::geom::util::LinearComponentExtracter.