A spline that uses spherical quadrangle (squad) interpolation to create a quaternion curve.
The generated curve is in the class C1.
alias QuaternionSpline
- The options object takes the following properties
- {Number[]} options.times An array of strictly increasing, unit-less, floating-point times at each point.
The values are in no way connected to the clock time. They are the parameterization for the curve.
- {Quaternion[]} options.points The array of Quaternion control points.
- {Quaternion} [options.firstInnerQuadrangle] The inner quadrangle of the curve at the first control point.
If the inner quadrangle is not given, it will be estimated.
- {Quaternion} [options.lastInnerQuadrangle] The inner quadrangle of the curve at the last control point.
If the inner quadrangle is not given, it will be estimated.
exception {DeveloperError} points.length must be greater than or equal to 2.
exception {DeveloperError} times.length must be equal to points.length.
A spline that uses spherical quadrangle (squad) interpolation to create a quaternion curve. The generated curve is in the class C1.
alias QuaternionSpline
- The options object takes the following properties - {Number[]} options.times An array of strictly increasing, unit-less, floating-point times at each point. The values are in no way connected to the clock time. They are the parameterization for the curve. - {Quaternion[]} options.points The array of Quaternion control points. - {Quaternion} [options.firstInnerQuadrangle] The inner quadrangle of the curve at the first control point. If the inner quadrangle is not given, it will be estimated. - {Quaternion} [options.lastInnerQuadrangle] The inner quadrangle of the curve at the last control point. If the inner quadrangle is not given, it will be estimated.
exception {DeveloperError} points.length must be greater than or equal to 2. exception {DeveloperError} times.length must be equal to points.length.
LinearSpline
CatmullRomSpline
HermiteSpline