|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ProGAL.math.Functions
public class Functions
Constructor Summary | |
---|---|
Functions()
|
Method Summary | |
---|---|
static int |
roundUpToPowerOf2(int n)
returns the smallest power of 2 above n, see http://en.wikipedia.org/wiki/Power_of_two |
static double |
toDeg(double alpha)
|
static double |
toRad(double alpha)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Functions()
Method Detail |
---|
public static double toDeg(double alpha)
public static double toRad(double alpha)
public static int roundUpToPowerOf2(int n)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |