Changeset 8929 in josm for trunk/src/org/openstreetmap/josm/gui/util/RotationAngle.java
- Timestamp:
- 2015-10-22T16:20:56+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/util/RotationAngle.java
r8624 r8929 15 15 */ 16 16 public abstract class RotationAngle { 17 17 18 /** 18 19 * Calculates the rotation angle depending on the primitive to displayed. 20 * @param p primitive 21 * @return rotation angle 19 22 */ 20 23 public abstract double getRotationAngle(OsmPrimitive p); … … 22 25 /** 23 26 * Always returns the fixed {@code angle}. 27 * @param angle angle 28 * @return rotation angle 24 29 */ 25 30 public static RotationAngle buildStaticRotation(final double angle) { … … 39 44 /** 40 45 * Parses the rotation angle from the specified {@code string}. 46 * @param string angle as string 47 * @return rotation angle 41 48 */ 42 49 public static RotationAngle buildStaticRotation(final String string) { … … 89 96 /** 90 97 * Computes the angle depending on the referencing way segment, or {@code 0} if none exists. 98 * @return rotation angle 91 99 */ 92 100 public static RotationAngle buildWayDirectionRotation() {
Note:
See TracChangeset
for help on using the changeset viewer.