Class Slerp.Linear
- java.lang.Object
-
- org.apache.commons.numbers.quaternion.Slerp.Linear
-
- All Implemented Interfaces:
java.util.function.DoubleFunction<Quaternion>
- Enclosing class:
- Slerp
private final class Slerp.Linear extends java.lang.Object implements java.util.function.DoubleFunction<Quaternion>
Linear interpolation, used when the quaternions are too closely aligned.
-
-
Constructor Summary
Constructors Constructor Description Linear()
Package-private constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Quaternion
apply(double t)
-
-
-
Method Detail
-
apply
public Quaternion apply(double t)
- Specified by:
apply
in interfacejava.util.function.DoubleFunction<Quaternion>
-
-