libcanvas icon indicating copy to clipboard operation
libcanvas copied to clipboard

Line distance to - zero result

Open theshock opened this issue 12 years ago • 0 comments

Code:

new Line(100, 100, 150, 100)
    .distanceTo( new Point(95, 100), false );

Expected: 5

Result: 0

Description: If point is on infinity line it returns zero always

theshock avatar Feb 19 '13 19:02 theshock