In this case, the projected point lies inside the segment, but AbstractLine2D#supportContains returns false for the projected point. The actual distance should be somewhat less than 100, but the distance call currently (tested with 0.11.2) returns about 3445 as distance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have found the problem, and changed the method for computing distance. This should be now more robust!
You can either checkout the current development version, or wait for next release.
Regard,
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found a problem with the distance calculation for a line segment, which occurs in the following sample usage:
In this case, the projected point lies inside the segment, but AbstractLine2D#supportContains returns false for the projected point. The actual distance should be somewhat less than 100, but the distance call currently (tested with 0.11.2) returns about 3445 as distance.
Hi,
thanks for report. There should be a bug inside... I will check it.
regards,
David
Hi,
I have found the problem, and changed the method for computing distance. This should be now more robust!
You can either checkout the current development version, or wait for next release.
Regard,
David