Package org.openstreetmap.josm.tools
Class RotationAngle.WayDirectionRotationAngle
- java.lang.Object
-
- org.openstreetmap.josm.tools.RotationAngle.WayDirectionRotationAngle
-
- All Implemented Interfaces:
RotationAngle
- Enclosing interface:
- RotationAngle
public static final class RotationAngle.WayDirectionRotationAngle extends Object implements RotationAngle
The rotation along a way.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstreetmap.josm.tools.RotationAngle
RotationAngle.StaticRotationAngle, RotationAngle.WayDirectionRotationAngle
-
-
Field Summary
-
Fields inherited from interface org.openstreetmap.josm.tools.RotationAngle
NO_ROTATION
-
-
Constructor Summary
Constructors Constructor Description WayDirectionRotationAngle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
double
getRotationAngle(IPrimitive p)
Calculates the rotation angle depending on the primitive to be displayed.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
WayDirectionRotationAngle
public WayDirectionRotationAngle()
-
-
Method Detail
-
getRotationAngle
public double getRotationAngle(IPrimitive p)
Description copied from interface:RotationAngle
Calculates the rotation angle depending on the primitive to be displayed.- Specified by:
getRotationAngle
in interfaceRotationAngle
- Parameters:
p
- primitive- Returns:
- rotation angle
-
-