mathnet-spatial
mathnet-spatial copied to clipboard
Feat: Line2D.DistanceTo(Point2D p)
I implemented Line2D.DistanceTo(Point2D p) which calculates the distance from this line to the given point p.
This method should always return the value of 0 or positive.
It will be nice if we can discuss whether the testcases is sufficient.