Package org.openstreetmap.josm.tools
Class RotationAngle.StaticRotationAngle
java.lang.Object
org.openstreetmap.josm.tools.RotationAngle.StaticRotationAngle
- All Implemented Interfaces:
RotationAngle
- Enclosing interface:
- RotationAngle
A static rotation
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openstreetmap.josm.tools.RotationAngle
RotationAngle.StaticRotationAngle, RotationAngle.WayDirectionRotationAngle -
Field Summary
FieldsFields inherited from interface org.openstreetmap.josm.tools.RotationAngle
NO_ROTATION -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
angle
-
-
Constructor Details
-
StaticRotationAngle
-
-
Method Details
-
getRotationAngle
Description copied from interface:RotationAngleCalculates the rotation angle depending on the primitive to be displayed.- Specified by:
getRotationAnglein interfaceRotationAngle- Parameters:
p- primitive- Returns:
- rotation angle in radians, clockwise starting from up/north
-
toString
-
hashCode
-
equals
-