mathnet-spatial icon indicating copy to clipboard operation
mathnet-spatial copied to clipboard

Feat: Line2D.DistanceTo(Point2D p)

Open f-frhs opened this issue 2 years ago • 0 comments

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.

f-frhs avatar Dec 25 '23 16:12 f-frhs