Normalize (SIVector3)

Description

Sets the value of this vector to the normalization of vector v.

Scripting Syntax

SIVector3.Normalize( v )

C# Syntax

Int32 SIVector3.Normalize( SIVector3 in_pVector );

Parameters

Parameter

Type

Description

v

SIVector3

Operand vector

Return Value

Boolean True if the normalization has been computed; otherwise False.

Examples

VBScript Example

dim v1, v2
' Create 3D vectors.
set v1 = XSIMath.CreateVector3
set v2 = XSIMath.CreateVector3
v1.Set 12.0, 34.0, 43.0
if v2.Normalize( v1 ) then
computation = TRUE
else
computation = FALSE
end if

See Also

SIVector3.NormalizeInPlace

SIVector3.Length

SIVector3

SIMatrix3

SIMatrix4

SIRotation

SITransformation

SIQuaternion



Autodesk Softimage v7.5