160 #ifndef WCSLIB_WCSTRIG 161 #define WCSLIB_WCSTRIG 165 #include "wcsconfig.h" 168 void sincos(
double angle,
double *sin,
double *cos);
181 #define cosd(X) cos((X)*D2R) 182 #define sind(X) sin((X)*D2R) 183 #define tand(X) tan((X)*D2R) 184 #define acosd(X) acos(X)*R2D 185 #define asind(X) asin(X)*R2D 186 #define atand(X) atan(X)*R2D 187 #define atan2d(Y,X) atan2(Y,X)*R2D 189 #define sincosd(X,S,C) sincos((X)*D2R,(S),(C)) 191 #define sincosd(X,S,C) *(S) = sin((X)*D2R); *(C) = cos((X)*D2R); 198 double cosd(
double angle);
199 double sind(
double angle);
200 void sincosd(
double angle,
double *sin,
double *cos);
201 double tand(
double angle);
202 double acosd(
double x);
203 double asind(
double y);
204 double atand(
double s);
205 double atan2d(
double y,
double x);
208 #define WCSTRIG_TOL 1e-10 void sincosd(double angle, double *sin, double *cos)
Sine and cosine of an angle in degrees.
double cosd(double angle)
Cosine of an angle in degrees.
double asind(double y)
Inverse sine, returning angle in degrees.
double acosd(double x)
Inverse cosine, returning angle in degrees.
double tand(double angle)
Tangent of an angle in degrees.
double atan2d(double y, double x)
Polar angle of , in degrees.
double atand(double s)
Inverse tangent, returning angle in degrees.
double sind(double angle)
Sine of an angle in degrees.