GEOS 3.14.0dev
|
A ConnectedElementPointFilter extracts a single point from each connected element in a Geometry (e.g. a polygon, linestring or point) and returns them in a list. Empty geometries do not provide a location item. More...
#include <ConnectedElementLocationFilter.h>
Public Member Functions | |
void | filter_ro (const geom::Geometry *geom) override |
void | filter_rw (geom::Geometry *geom) override |
Static Public Member Functions | |
static std::vector< GeometryLocation > | getLocations (const geom::Geometry *geom) |
Returns a list containing a point from each Polygon, LineString, and Point found inside the specified geometry. | |
A ConnectedElementPointFilter extracts a single point from each connected element in a Geometry (e.g. a polygon, linestring or point) and returns them in a list. Empty geometries do not provide a location item.
The elements of the list are GeometryLocation.
Empty geometries do not provide a location item.
|
overridevirtual |
Reimplemented from geos::geom::GeometryFilter.
|
overridevirtual |
Reimplemented from geos::geom::GeometryFilter.
|
static |
Returns a list containing a point 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. The elements of the list are GeometryLocations.