GEOS 3.15.0dev
|
#include <ExactMaxInscribedCircle.h>
Static Public Member Functions | |
static bool | isSupported (const geom::Geometry *geom) |
static std::pair< CoordinateXY, CoordinateXY > | computeRadius (const Polygon *polygon) |
Computes the Maximum Inscribed Circle for some kinds of convex polygons. It determines the circle center point by computing Voronoi node points and testing them for distance to generating edges. This is more precise than iterated approximation, and faster for small polygons (such as triangles and convex quadrilaterals).
|
static |
Tests whether a given geometry is supported by this class. Currently only triangles and convex quadrilaterals are supported.
geom | an areal geometry |