Description:
Returns the unit quaternion cos(angle/2), sin(angle/2)*x, sin(angle/2)*y, sin(angle/2)*z where (x,y,z) is the unit vector parallel to axis. This is the unit quaternion that represents the rotation of angle about axis.
Syntax:
Parameters:
- angle
- Type: double
- An angle in radians.
- axisOfRotation
- Type: Vector3d
- The axis of rotation.
Returns:
Type: Quaternion
A new quaternion.
Available since:
5.0
Description:
Returns the unit quaternion that represents the rotation that maps plane0.xaxis to plane1.xaxis, plane0.yaxis to plane1.yaxis, and plane0.zaxis to plane1.zaxis.
Syntax:
Parameters:
- plane0
- Type: Plane
- The first plane.
- plane1
- Type: Plane
- The second plane.
Returns:
Type: Quaternion
A quaternion value.
Remarks:
The plane origins are ignored
Available since:
5.0