Click or drag to resize

QuaternionRotateTowards Method

Returns the quaternion obtained by rotating a towards b, limiting the rotation by MaxRadians.

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

Parameters

a
Type: Rhino.GeometryQuaternion
The first quaternion.
b
Type: Rhino.GeometryQuaternion
The second quaternion.
maxRadians
Type: SystemDouble
The maximum rotation in radians.

Return Value

Type: Quaternion
The rotated quaternion.
See Also