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
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to