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(T)
Data scalar.
Time1(SplineRef1<T>, Point1<T>)
f(t)
stored as f, t
.
Time2(SurfaceRef1<T>, Point2<T>)
f([t; 2])
stored as f, [t; 2]
.
Sum(Point1<T>, Point1<T>)
Sums two numbers.
Diff(Point1<T>, Point1<T>)
Difference between two numbers.
Prod(Point1<T>, Point1<T>)
Product of two numbers.
Div(Point1<T>, Point1<T>)
Divides one number with another.
Dot2(Point2<T>, Point2<T>)
Dot product of two 2D vectors.
Dot3(Point3<T>, Point3<T>)
Dot product of two 3D vectors.
Dot4(Point4<T>, Point4<T>)
Dot product of two 4D vectors.
Cross(Point2<T>, Point2<T>)
Cross product between two 2D vectors.
Abs(Point1<T>)
Absolute value of scalar.
Len2(Point2<T>)
Length of 2D vector.
Len3(Point3<T>)
Length of 3D vector.
Len4(Point4<T>)
Length of 4D vector.
Neg(Point1<T>)
Negative value of number.
Sign(Point1<T>)
Sign value of number.
Sin(Point1<T>)
Sine of angle.
Cos(Point1<T>)
Cosine of angle.
Tan(Point1<T>)
Tangent of angle.
Asin(Point1<T>)
Inverse sine of angle.
Acos(Point1<T>)
Inverse cosine of angle.
Atan(Point1<T>)
Inverse tangent of angle.
Atan2(Point1<T>, Point1<T>)
Inverse tangent of y, x
.
Sinh(Point1<T>)
Hyperbolic sine of angle.
Cosh(Point1<T>)
Hyperbolic cosine of angle.
Tanh(Point1<T>)
Hyperbolic tangent of angle.
Asinh(Point1<T>)
Inverse hyperbolic sine of angle.
Acosh(Point1<T>)
Inverse hyperbolic cosine of angle.
Atanh(Point1<T>)
Inverse hyperbolic tangent of angle.
Sqrt(Point1<T>)
Square root of number.
Max(Point1<T>, Point1<T>)
Maximum of two numbers.
Min(Point1<T>, Point1<T>)
Minimum of two numbers.
DegToRad(Point1<T>)
Convert degrees to radians.
RadToDeg(Point1<T>)
Convert radians to degrees.
Time
Returns the time from environment.
DeltaTime
Returns delta time from environment.
Trait Implementations
impl<T: Copy> Copy for Point1<T>
[src]
impl<T: Clone> Clone for Point1<T>
[src]
fn clone(&self) -> Point1<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more