Enum turbine_reactive::fns::Point1 [] [src]

pub enum Point1<T> {
    Data(T),
    Time1(SplineRef1<T>, Point1<T>),
    Time2(SurfaceRef1<T>, Point2<T>),
    Sum(Point1<T>, Point1<T>),
    Diff(Point1<T>, Point1<T>),
    Prod(Point1<T>, Point1<T>),
    Div(Point1<T>, Point1<T>),
    Dot2(Point2<T>, Point2<T>),
    Dot3(Point3<T>, Point3<T>),
    Dot4(Point4<T>, Point4<T>),
    Cross(Point2<T>, Point2<T>),
    Abs(Point1<T>),
    Len2(Point2<T>),
    Len3(Point3<T>),
    Len4(Point4<T>),
    Neg(Point1<T>),
    Sign(Point1<T>),
    Sin(Point1<T>),
    Cos(Point1<T>),
    Tan(Point1<T>),
    Asin(Point1<T>),
    Acos(Point1<T>),
    Atan(Point1<T>),
    Atan2(Point1<T>, Point1<T>),
    Sinh(Point1<T>),
    Cosh(Point1<T>),
    Tanh(Point1<T>),
    Asinh(Point1<T>),
    Acosh(Point1<T>),
    Atanh(Point1<T>),
    Sqrt(Point1<T>),
    Max(Point1<T>, Point1<T>),
    Min(Point1<T>, Point1<T>),
    DegToRad(Point1<T>),
    RadToDeg(Point1<T>),
    Time,
    DeltaTime,
}

Scalar.

Variants

Data scalar.

f(t) stored as f, t.

f([t; 2]) stored as f, [t; 2].

Sums two numbers.

Difference between two numbers.

Product of two numbers.

Divides one number with another.

Dot product of two 2D vectors.

Dot product of two 3D vectors.

Dot product of two 4D vectors.

Cross product between two 2D vectors.

Absolute value of scalar.

Length of 2D vector.

Length of 3D vector.

Length of 4D vector.

Negative value of number.

Sign value of number.

Sine of angle.

Cosine of angle.

Tangent of angle.

Inverse sine of angle.

Inverse cosine of angle.

Inverse tangent of angle.

Inverse tangent of y, x.

Hyperbolic sine of angle.

Hyperbolic cosine of angle.

Hyperbolic tangent of angle.

Inverse hyperbolic sine of angle.

Inverse hyperbolic cosine of angle.

Inverse hyperbolic tangent of angle.

Square root of number.

Maximum of two numbers.

Minimum of two numbers.

Convert degrees to radians.

Convert radians to degrees.

Returns the time from environment.

Returns delta time from environment.

Trait Implementations

impl<T: Copy> Copy for Point1<T>
[src]

impl<T: Clone> Clone for Point1<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Point1<T>
[src]

[src]

Formats the value using the given formatter.