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(IPrimitive 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, waitbuildStaticRotation, buildStaticRotation, buildWayDirectionRotation, parseCardinalRotationprivate final double angle
private StaticRotationAngle(double angle)
public double getRotationAngle(IPrimitive p)
RotationAnglegetRotationAngle in interface RotationAnglep - primitivepublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object