## SIQuaternion.Equals

### Description

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

### C# Syntax

    Int32 SIQuaternion.Equals( SIQuaternion in_pQuat );

### Scripting Syntax

    oBoolean = SIQuaternion.Equals( q );

### Return Value

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

### Parameters

Parameter | Type | Description
--- | --- | ---
q | SIQuaternion | quaternion operand

### 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