Equals (SIQuaternion)

Description

Tests the strict equality between this quaternion and the quaternion q.

Scripting Syntax

    SIQuaternion.Equals( q )

C# Syntax

    Int32 SIQuaternion.Equals( SIQuaternion in_pQuat );

Parameters

Parameter | Type | Description
q | SIQuaternion | quaternion operand

Return Value

Boolean True if this quaternion equals the quaternion q; otherwise False.

Examples

VBScript Example

    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

See Also

SIQuaternion.EpsilonEquals | SIVector3 | SIMatrix3 | SIMatrix4
SIRotation | SITransformation | SIQuaternion |

Autodesk Softimage v7.5