Tests the strict equality between this quaternion and the quaternion q.
Int32 SIQuaternion.Equals( SIQuaternion in_pQuat ); |
oBoolean = SIQuaternion.Equals( q ); |
Boolean True if this quaternion equals the quaternion q; otherwise False.
Parameter | Type | Description |
---|---|---|
q | SIQuaternion | quaternion operand |
dim q1, q2 ' Create Quaternions. set q1 = XSIMath.CreateQuaternion(1.0, 1.0, 2.0, 3.0) set q2 = XSIMath.CreateQuaternion(1.0, 1.0, 2.0, 3.0) if q1.Equals( q2 ) then 'do something end if |