|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.func.TrigDegrees
public class TrigDegrees
Standard trigonometric functions with angles in degrees.
Method Summary | |
---|---|
static double |
acosDeg(double x)
Arc cosine. |
static double |
asinDeg(double x)
Arc sine. |
static double |
atan2Deg(double y,
double x)
Converts rectangular coordinates ( x ,y )
to polar (r ,theta ). |
static double |
atanDeg(double x)
Arc tangent. |
static double |
cosDeg(double theta)
Cosine of an angle. |
static double |
sinDeg(double theta)
Sine of an angle. |
static double |
tanDeg(double theta)
Tangent of an angle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static double sinDeg(double theta)
theta
- an angle, in degrees
public static double cosDeg(double theta)
theta
- an angle, in degrees
public static double tanDeg(double theta)
theta
- an angle, in degrees
public static double asinDeg(double x)
x
- the value whose arc sine is to be returned.
public static double acosDeg(double x)
x
- the value whose arc cosine is to be returned.
public static double atanDeg(double x)
x
- the value whose arc tangent is to be returned.
public static double atan2Deg(double y, double x)
x
,y
)
to polar (r
,theta
).
This method computes the phase
theta
by computing an arc tangent
of y/x
in the range of -180 to 180.
y
- the ordinate coordinatex
- the abscissa coordinate
theta
component in degrees of the point
(r
,theta
)
in polar coordinates that corresponds to the point
(x
,y
) in Cartesian coordinates.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |