[Geometry] Wrong distance computation for VPolyogn
First, choose a meaningful and short title and mention context in square brackets. E.g., [GUI] Agents overlap if radius greater than 0.2 m
Summary
The distance computation in VPolygon is wrong, which is a deep bug!
What is the current bug behavior?
The result might be too large since the last line of the polygon is ignored for the computation. The method which is not correctly implemented is in VPolygon
called closestPoint