GEOS  3.9.1dev
Public Member Functions | List of all members
geos::geom::GeometryComponentFilter Class Reference

#include <GeometryComponentFilter.h>

Inheritance diagram for geos::geom::GeometryComponentFilter:
[legend]

Public Member Functions

virtual void filter_rw (Geometry *geom)
 
virtual void filter_ro (const Geometry *geom)
 
virtual bool isDone ()
 
virtual ~GeometryComponentFilter ()
 

Detailed Description

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.

Definition at line 43 of file GeometryComponentFilter.h.

Constructor & Destructor Documentation

virtual geos::geom::GeometryComponentFilter::~GeometryComponentFilter ( )
inlinevirtual

Definition at line 58 of file GeometryComponentFilter.h.

Member Function Documentation

virtual void geos::geom::GeometryComponentFilter::filter_ro ( const Geometry geom)
virtual
virtual void geos::geom::GeometryComponentFilter::filter_rw ( Geometry geom)
virtual

Performs an operation with or on geom.

Parameters
geoma Geometry to which the filter is applied.

Reimplemented in geos::geom::Geometry::GeometryChangedFilter, geos::geom::util::LinearComponentExtracter, and geos::geom::util::ComponentCoordinateExtracter.

virtual bool geos::geom::GeometryComponentFilter::isDone ( )
inlinevirtual

Definition at line 55 of file GeometryComponentFilter.h.


The documentation for this class was generated from the following file: