Standard trigonometric functions with angles in degrees.
sinDeg( theta )
theta
(floating point): an angle, in degreescosDeg( theta )
theta
(floating point): an angle, in degreestanDeg( theta )
theta
(floating point): an angle, in degreesasinDeg( x )
x
(floating point): the value whose arc sine is to be returned.acosDeg( x )
x
(floating point): the value whose arc cosine is to be returned.atanDeg( x )
x
(floating point): the value whose arc tangent is to be returned.atan2Deg( y, 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
(floating point): the ordinate coordinatex
(floating point): the abscissa coordinatetheta
component in degrees of the point
(r
,theta
)
in polar coordinates that corresponds to the point
(x
,y
) in Cartesian coordinates.