[mkgmap-dev] Commit: r2206: Detect and correct polygons direction change due to int precision in Java2DConverter
From svn commit svn at mkgmap.org.uk on Sun Feb 12 20:39:12 GMT 2012
Version 2206 was commited by wanmil on 2012-02-12 20:39:12 +0000 (Sun, 12 Feb 2012) Detect and correct polygons direction change due to int precision in Java2DConverter Polygons are often converted to the java.awt.geom.Area class to cut them. This Area class uses float precision which must be converted back to Garmins int precision. Sometimes this causes a polygon to change its direction (cw <=> ccw). This is now avoided by reversing the polygon if the float precision polygon has a different direction than the int precision polygon. This fixes some problems with the precompiled boundary utils. --GerdP
- Previous message: [mkgmap-dev] BaseCamp 3.3 and Routing
- Next message: [mkgmap-dev] Commit: r2206: Detect and correct polygons direction change due to int precision in Java2DConverter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list