Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

geos::geom::util::PointExtracter Class Reference

#include <PointExtracter.h>

Inheritance diagram for geos::geom::util::PointExtracter:

geos::geom::GeometryFilter List of all members.

Public Member Functions

 PointExtracter (Point::ConstVect &newComps)
void filter_rw (Geometry *geom)
void filter_ro (const Geometry *geom)

Static Public Member Functions

void getPoints (const Geometry &geom, Point::ConstVect &ret)

Detailed Description

Extracts all the 0-dimensional (Point) components from a Geometry.


Constructor & Destructor Documentation

geos::geom::util::PointExtracter::PointExtracter Point::ConstVect newComps  )  [inline]
 

Constructs a PointExtracterFilter with a list in which to store Points found.


Member Function Documentation

void geos::geom::util::PointExtracter::getPoints const Geometry geom,
Point::ConstVect ret
[inline, static]
 

Returns the Point components from a single geometry. If more than one geometry is to be processed, it is more efficient to create a single PointExtracter filter instance and pass it to multiple geometries.


The documentation for this class was generated from the following file:
Generated on Fri Nov 16 16:52:54 2012 for GEOS by  doxygen 1.3.9.1