SIVector3.Equals
 
 
 

SIVector3.Equals

Description

Tests the strict equality of this vector with the vector v.

C# Syntax

Int32 SIVector3.Equals( SIVector3 in_pVector );

Scripting Syntax

oBoolean = SIVector3.Equals( v );

Return Value

Boolean. True if this vector equals the vector v; otherwise False.

Parameters

Parameter Type Description
v SIVector3 Operand vector

Examples

VBScript Example

dim v1, v2
' Create 3D vectors.
set v1 = XSIMath.CreateVector3(1.0, 2.0, 3.0)
set v2 = XSIMath.CreateVector3(1.0, 2.0, 3.0)
if v1.Equals(v2) then
Application.LogMessage "v1 equals v2"
end if

See Also

SIVector3.EpsilonEquals SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion