Class perform linear interpolation (approximate rotation interpolation), result quaternion nonunit, its length lay between. sqrt(2)/2 and 1.0.
More...
#include <gp_QuaternionNLerp.hxx>
Class perform linear interpolation (approximate rotation interpolation), result quaternion nonunit, its length lay between. sqrt(2)/2 and 1.0.
◆ gp_QuaternionNLerp() [1/2]
gp_QuaternionNLerp::gp_QuaternionNLerp |
( |
| ) |
|
|
inline |
◆ gp_QuaternionNLerp() [2/2]
Constructor with initialization.
◆ Init()
Initialize the tool with Start and End values.
◆ InitFromUnit()
Initialize the tool with Start and End unit quaternions.
◆ Interpolate() [1/2]
Compute interpolated quaternion between two quaternions.
- Parameters
-
theStart | first quaternion |
theEnd | second quaternion |
theT | normalized interpolation coefficient within 0..1 range, with 0 pointing to theStart and 1 to theEnd. |
◆ Interpolate() [2/2]
Set interpolated quaternion for theT position (from 0.0 to 1.0)
The documentation for this class was generated from the following file: