[][src]Trait aljabar::Angle

pub trait Angle: Real {
    fn sin(self) -> Self;
fn cos(self) -> Self;
fn tan(self) -> Self;
fn atan2(self, x: Self) -> Self;
fn sin_cos(self) -> (Self, Self); }

A value for which the usual set of trigonometric functions are defined.

Required methods

fn sin(self) -> Self

Returns the sine of the angle.

fn cos(self) -> Self

Returns the cosine of the angle.

fn tan(self) -> Self

Returns the tangent of the angle.

fn atan2(self, x: Self) -> Self

Returns the four quadrant arctangent of self and x in radians.

fn sin_cos(self) -> (Self, Self)

Returns the sine and the cosine of the angle.

Loading content...

Implementations on Foreign Types

impl Angle for f32[src]

impl Angle for f64[src]

Loading content...

Implementors

Loading content...