I can find the distance between MyPoint and MyPolygon using
double dist = boost::geometry::distance(MyPoint, MyPolygon)
obviously, the closest point to MyPolygon to be calculated somewhere. Is there an easy way to get this closest point? I cannot find anything in the Boost Documentation, and I am sure that others had this problem too.
source share