Returns the distance of point to the nearest point on line
point
line
const distance = Lines.distanceSingleLine(line, pt); Copy
const distance = Lines.distanceSingleLine(line, pt);
Line
Target point
Returns the distance of
point
to the nearest point online