SMC_Quat1_RotDist (FUN)

 

FUNCTION SMC_Quat1_RotDist : LREAL

Computes the angular distance (in radian) between two unit quater­nions. The angular distance is angle of the shortest rotation between q1 and q2.

InOut:

Scope

Name

Type

Inout Const

q1

SMC_Quat

q2

SMC_Quat

Return

SMC_Quat1_RotDist

LREAL