Ignore:
Timestamp:
18.02.2010 21:42:37 (2 years ago)
Author:
bastiK
Message:

fixed #4538 - Orthogonalization refuses to work on some almost-orthogonal shapes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java

    r2957 r3019  
    5555     * excepted deviation from an angle of 0, 90, 180, 360 degrees 
    5656     * maximum value: 45 degrees 
    57      */ 
    58     private static final double TOLERANCE1 = Math.toRadians(35.);   // within a way 
    59     private static final double TOLERANCE2 = Math.toRadians(35.);   // ways relative to each other 
     57     * 
     58     * Current policy is to except just everything, no matter how strange the result would be. 
     59     */ 
     60    private static final double TOLERANCE1 = Math.toRadians(45.);   // within a way 
     61    private static final double TOLERANCE2 = Math.toRadians(45.);   // ways relative to each other 
    6062 
    6163    /** 
Note: See TracChangeset for help on using the changeset viewer.