cheap-ruler
cheap-ruler copied to clipboard
Return minDist from pointOnLine
It would be helpful to return the distance to the line from the "pointOnLine" method. I'm trying to find all points located on a given line, from a set of points. Some points may not be located on the line. By returning minDist it will be possible to determine this without having to measure the distance again using the "distance" method.