public static final class RotationAngle.StaticRotationAngle extends java.lang.Object implements RotationAngle
RotationAngle.StaticRotationAngle, RotationAngle.WayDirectionRotationAngle
Modifier and Type | Field and Description |
---|---|
private double |
angle |
NO_ROTATION
Modifier | Constructor and Description |
---|---|
private |
StaticRotationAngle(double angle) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
double |
getRotationAngle(OsmPrimitive p)
Calculates the rotation angle depending on the primitive to be displayed.
|
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
buildStaticRotation, buildStaticRotation, buildWayDirectionRotation, parseCardinalRotation
private final double angle
private StaticRotationAngle(double angle)
public double getRotationAngle(OsmPrimitive p)
RotationAngle
getRotationAngle
in interface RotationAngle
p
- primitivepublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object