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>
|
| ConnectedElementPointFilter (std::vector< const geom::CoordinateXY * > *newPts) |
|
void | filter_ro (const geom::Geometry *geom) override |
|
virtual void | filter_rw (Geometry *) |
|
Extracts a single point from each connected element in a Geometry (e.g. a polygon, linestring or point) and returns them in a list.
◆ filter_ro()
void geos::operation::distance::ConnectedElementPointFilter::filter_ro |
( |
const geom::Geometry * |
geom | ) |
|
|
overridevirtual |
◆ getCoordinates()
static std::vector< const geom::CoordinateXY * > * geos::operation::distance::ConnectedElementPointFilter::getCoordinates |
( |
const geom::Geometry * |
geom | ) |
|
|
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.
The documentation for this class was generated from the following file: