Crate ang

source · []

Re-exports

pub use Angle::Degrees;
pub use Angle::Radians;

Enums

An angle.

Functions

Compute the arccosine of a number. Return value is in the range of [0, π] rad or None if the number is outside the range [-1, 1].

Compute the arcsine of a number. Return value is in the range of [-π/2, π/2] rad or None if the number is outside the range [-1, 1].

Compute the arctangent of a number. Return value is in the range of [-π/2, π/2] rad.

Compute the four quadrant arctangent of y and x.

Compute the approximate mean of a list of angles by averaging the Cartesian coordinates of the angles on the unit circle. Return the normalized angle.