logo separator

[mkgmap-dev] Commit r4763: - fix bug in Coord.distToLineSegment(Coord a, Coord b), it returned Double.NaN when a and b are the same

From svn commit svn at mkgmap.org.uk on Tue Jun 8 16:15:51 BST 2021

Version mkgmap-r4763 was committed by gerd on Tue, 08 Jun 2021

- fix bug in Coord.distToLineSegment(Coord a, Coord b), it returned Double.NaN when a and b are the same
Now it returns the distance to a, similar to shortestDistToLineSegment()
- minor code improvements in shortestDistToLineSegment()


http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4763


More information about the mkgmap-dev mailing list