|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.util.units.Angle
public class Angle
Field Summary | |
---|---|
static double |
degreesToRadians
|
static double |
radiansToDegrees
|
static double |
rightAngle
|
Constructor Summary | |
---|---|
Angle()
|
Method Summary | |
---|---|
static double |
degreesToRadians(double degrees)
Converts angle from degrees to radians. |
static double |
fromDeg(double degrees)
|
static double |
fromRad(double radians)
|
static double |
normalizeAngle180(double degrees)
Normalizes angle to be from -180 degrees exclusive to 180 degrees inclusive. |
static double |
normalizeAngle360(double degrees)
Normalizes angle to be from 0 degrees inclusive to 360 degrees exclusive. |
static double |
normalizeAnglePi(double radians)
Normalizes angle to be from -Pi radians exclusive to Pi radians inclusive. |
static double |
normalizeAngleTwoPi(double radians)
Normalizes angle to be from 0 radians inclusive to 2Pi radians exclusive. |
static double |
radiansToDegrees(double radians)
Converts angle from radians to degrees. |
static double |
toDeg(double su)
|
static double |
toRad(double su)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double degreesToRadians
public static final double radiansToDegrees
public static final double rightAngle
Constructor Detail |
---|
public Angle()
Method Detail |
---|
public static double fromDeg(double degrees)
public static double fromRad(double radians)
public static double toDeg(double su)
public static double toRad(double su)
public static double degreesToRadians(double degrees)
public static double radiansToDegrees(double radians)
public static double normalizeAngle360(double degrees)
Note: For extremely large arguments see http://www.derekroconnor.net/Software/Ng--ArgReduction.pdf
public static double normalizeAngle180(double degrees)
Note: For extremely large arguments see http://www.derekroconnor.net/Software/Ng--ArgReduction.pdf
public static double normalizeAngleTwoPi(double radians)
Note: For extremely large arguments see http://www.derekroconnor.net/Software/Ng--ArgReduction.pdf
public static double normalizeAnglePi(double radians)
Note: For extremely large arguments see http://www.derekroconnor.net/Software/Ng--ArgReduction.pdf
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |