Functions

Functions to convert between angle units

Functions

trigint_angle_t trigint_degrees_to_angle_d (double degrees)
 Converts an angle from degrees, as a double, to trigint_angle_t.
trigint_angle_t trigint_degrees_to_angle_i (int degrees)
 Converts an angle from degrees, as an int to trigint_angle_t.
double trigint_angle_to_degrees_d (trigint_angle_t angle)
 Converts an angle from trigint_angle_t to degrees, as a double.
int trigint_angle_to_degrees_i (trigint_angle_t angle)
 Converts an angle from trigint_angle_t to degrees, as an int.
trigint_angle_t trigint_radians_to_angle_d (double radians)
 Converts an angle from radians, as a double to trigint_angle_t.
double trigint_angle_to_radians_d (trigint_angle_t angle)
 Converts an angle from trigint_angle_t to radians, as a double.

Function Documentation

trigint_angle_t trigint_degrees_to_angle_d ( double  degrees  )  [inline]

Converts an angle from degrees, as a double, to trigint_angle_t.

Parameters:
degrees an angle in degrees, as a double
Returns:
the angle as a trigint_angle_t
trigint_angle_t trigint_degrees_to_angle_i ( int  degrees  )  [inline]

Converts an angle from degrees, as an int to trigint_angle_t.

Parameters:
degrees an anle in degrees, as an int
Returns:
the angle as a trigint_angle_t
double trigint_angle_to_degrees_d ( trigint_angle_t  angle  )  [inline]

Converts an angle from trigint_angle_t to degrees, as a double.

Parameters:
angle an angle as a trigint_angle_t
Returns:
the angle in degrees as a double
int trigint_angle_to_degrees_i ( trigint_angle_t  angle  )  [inline]

Converts an angle from trigint_angle_t to degrees, as an int.

Parameters:
angle an angle as a trigint_angle_t
Returns:
the angle in degrees as an int
trigint_angle_t trigint_radians_to_angle_d ( double  radians  )  [inline]

Converts an angle from radians, as a double to trigint_angle_t.

Parameters:
radians an angle in radians, as a double
Returns:
the angle as a trigint_angle_t
double trigint_angle_to_radians_d ( trigint_angle_t  angle  )  [inline]

Converts an angle from trigint_angle_t to radians, as a double.

Parameters:
angle an angle as a trigint_angle_t
Returns:
the angle in radians as a double