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.
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.