GEOS 3.11.1
|
Computes the Minimum Clearance of a Geometry. More...
#include <MinimumClearance.h>
Public Member Functions | |
MinimumClearance (const geom::Geometry *g) | |
double | getDistance () |
std::unique_ptr< geom::LineString > | getLine () |
Computes the Minimum Clearance of a Geometry.
double geos::precision::MinimumClearance::getDistance | ( | ) |
Gets the Minimum Clearance distance.
DBL_MAX
if no Minimum Clearance distance exists std::unique_ptr< geom::LineString > geos::precision::MinimumClearance::getLine | ( | ) |
Gets a LineString containing two points which are at the Minimum Clearance distance.
LINESTRING EMPTY
if no Minimum Clearance distance exists