Click or drag to resize

QuaternionSlerp Method

Interpolates between two quaternions, using spherical linear interpolation.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static Quaternion Slerp(
	Quaternion a,
	Quaternion b,
	double t
)

Parameters

a
Type: Rhino.GeometryQuaternion
The first quaternion.
b
Type: Rhino.GeometryQuaternion
The second quaternion.
t
Type: SystemDouble
The parameter in the range [0, 1].

Return Value

Type: Quaternion
The interpolated quaternion.
See Also