Next Previous Up Contents
Next: URLs
Up: General Functions
Previous: Times

B.1.21 TrigDegrees

Standard trigonometric functions with angles in degrees.

sinDeg( theta )
Sine of an angle.

cosDeg( theta )
Cosine of an angle.

tanDeg( theta )
Tangent of an angle.

asinDeg( x )
Arc sine. The result is in the range of -90 through 90.

acosDeg( x )
Arc cosine. The result is in the range of 0.0 through 180.

atanDeg( x )
Arc tangent. The result is in the range of -90 through 90.

atan2Deg( y, x )
Converts rectangular coordinates (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.


Next Previous Up Contents
Next: URLs
Up: General Functions
Previous: Times

TOPCAT - Tool for OPerations on Catalogues And Tables
Starlink User Note253
TOPCAT web page: http://www.starlink.ac.uk/topcat/
Author email: m.b.taylor@bristol.ac.uk
Mailing list: topcat-user@jiscmail.ac.uk