Changeset 9230 in josm for trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java
- Timestamp:
- 2015-12-31T16:37:24+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java
r8931 r9230 199 199 /** 200 200 * Collect groups of ways with common nodes in order to orthogonalize each group separately. 201 * @param wayDataList list of ways 201 202 * @return groups of ways with common nodes 202 203 */ … … 246 247 * - The same for vertical segments. 247 248 * 5. Rotate back. 249 * @param wayDataList list of ways 250 * @param headingNodes list of heading nodes 248 251 * @return list of commands to perform 249 252 * @throws InvalidUserInputException if selected ways have an angle different from 90 or 180 degrees … … 398 401 399 402 /** 400 * Class contains everything we need to know about a sing e way.403 * Class contains everything we need to know about a single way. 401 404 */ 402 405 private static class WayData { … … 477 480 /** 478 481 * Make sure angle (up to 2*Pi) is in interval [ 0, 2*Pi ). 482 * @param a angle 479 483 * @return correct angle 480 484 */ … … 491 495 /** 492 496 * Make sure angle (up to 2*Pi) is in interval ( -Pi, Pi ]. 497 * @param a angle 493 498 * @return correct angle 494 499 */ … … 513 518 /** 514 519 * Rotate counter-clock-wise. 520 * @param pivot pivot 521 * @param en original east/north 522 * @param angle angle, in radians 515 523 * @return new east/north 516 524 */ … … 541 549 * Recognize angle to be approximately 0, 90, 180 or 270 degrees. 542 550 * returns an integral value, corresponding to a counter clockwise turn. 551 * @param a angle, in radians 552 * @param deltaMax maximum tolerance, in radians 543 553 * @return an integral value, corresponding to a counter clockwise turn 544 554 * @throws RejectedAngleException in case of invalid angle
Note:
See TracChangeset
for help on using the changeset viewer.