GEOS
3.3.3
|
Computes a point in the interior of an area geometry. More...
#include <InteriorPointArea.h>
Public Member Functions | |
InteriorPointArea (const geom::Geometry *g) | |
bool | getInteriorPoint (geom::Coordinate &ret) const |
void | addPolygon (const geom::Geometry *geometry) |
Finds a reasonable point at which to label a Geometry. |
Computes a point in the interior of an area geometry.
Note: If a fixed precision model is used, in some cases this method may return a point which does not lie in the interior.
void geos::algorithm::InteriorPointArea::addPolygon | ( | const geom::Geometry * | geometry | ) |
Finds a reasonable point at which to label a Geometry.
geometry | the geometry to analyze |