Changeset 10748 in josm for trunk/src/org/openstreetmap/josm/actions
 Timestamp:
 20160806T19:21:33+02:00 (4 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java
r10467 r10748 500 500 * @return correct angle 501 501 */ 502 private static double standard _angle_0_to_2PI(double a) {502 private static double standardAngle0to2PI(double a) { 503 503 while (a >= 2 * Math.PI) { 504 504 a = 2 * Math.PI; … … 515 515 * @return correct angle 516 516 */ 517 private static double standard _angle_mPI_to_PI(double a) {517 private static double standardAngleMPItoPI(double a) { 518 518 while (a > Math.PI) { 519 519 a = 2 * Math.PI; … … 572 572 */ 573 573 private static int angleToDirectionChange(double a, double deltaMax) throws RejectedAngleException { 574 a = standard _angle_mPI_to_PI(a);574 a = standardAngleMPItoPI(a); 575 575 double d0 = Math.abs(a); 576 576 double d90 = Math.abs(a  Math.PI / 2); … … 584 584 dirChange = 1; 585 585 } else { 586 a = standard _angle_0_to_2PI(a);586 a = standardAngle0to2PI(a); 587 587 double d180 = Math.abs(a  Math.PI); 588 588 if (d180 < deltaMax) {
Note: See TracChangeset
for help on using the changeset viewer.