|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--roboplayer.geometry.Angle
Helper class for different angle covertion functions.
Constructor Summary | |
Angle()
|
Method Summary | |
static double |
Deg2Rad(double angle)
This function changes deg to rad |
static double |
Normalize(double angle)
This function normalizes angle so it is between [-180, 180] |
static double |
Rad2Deg(double angle)
This function changes deg to rad |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Angle()
Method Detail |
public static double Deg2Rad(double angle)
angle
- angle in degrees
public static double Rad2Deg(double angle)
angle
- angle in radians
public static double Normalize(double angle)
angle
- angle in degrees
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |