#include <PointExtracter.h>
Public Member Functions | |
PointExtracter (Point::ConstVect &newComps) | |
void | filter_rw (Geometry *geom) |
void | filter_ro (const Geometry *geom) |
Static Public Member Functions | |
static void | getPoints (const Geometry &geom, Point::ConstVect &ret) |
Extracts all the 0-dimensional (Point) components from a Geometry.
geos::geom::util::PointExtracter::PointExtracter | ( | Point::ConstVect & | newComps | ) | [inline] |
Constructs a PointExtracterFilter with a list in which to store Points found.
static 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.