GEOS
3.6.1
|
Computes a point in the interior of an areal geometry. More...
#include <InteriorPointArea.h>
Public Member Functions | |
InteriorPointArea (const geom::Geometry *g) | |
bool | getInteriorPoint (geom::Coordinate &ret) const |
Computes a point in the interior of an areal 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.
geos::algorithm::InteriorPointArea::InteriorPointArea | ( | const geom::Geometry * | g | ) |
Creates a new interior point finder for an areal geometry.
g | an areal geometry |
bool geos::algorithm::InteriorPointArea::getInteriorPoint | ( | geom::Coordinate & | ret | ) | const |
Gets the computed interior point.