GEOS
3.14.0dev
|
Extracts a single point from each connected element in a Geometry (e.g. a polygon, linestring or point) and returns them in a list. More...
#include <ConnectedElementPointFilter.h>
Public Member Functions | |
ConnectedElementPointFilter (std::vector< const geom::CoordinateXY * > *newPts) | |
void | filter_ro (const geom::Geometry *geom) override |
Public Member Functions inherited from geos::geom::GeometryFilter | |
virtual void | filter_rw (Geometry *) |
Static Public Member Functions | |
static std::vector< const geom::CoordinateXY * > * | getCoordinates (const geom::Geometry *geom) |
Extracts a single point from each connected element in a Geometry (e.g. a polygon, linestring or point) and returns them in a list.
|
static |
Returns a list containing a Coordinate from each Polygon, LineString, and Point found inside the specified geometry. Thus, if the specified geometry is not a GeometryCollection, an empty list will be returned.