Dot (SIVector3)

Description

Returns the dot product of this vector and vector v. A dot product is defined as :

X . Y = |X| |Y| cos( theta )

Where theta is the angle between your vectors and |X| is the length of the vector X.

Scripting Syntax

SIVector3.Dot( v )

C# Syntax

Double SIVector3.Dot( SIVector3 in_pVector );

Parameters

Parameter

Type

Description

v

SIVector3

Operand vector

Return Value

Floating point value (dot product of this vector and vector v).

See Also

SIVector3.Angle

SIMatrix3

SIMatrix4

SIRotation

SITransformation

SIQuaternion

 

 

Examples

• See SIVector3.Dot.1.js

• See SIVector3.Dot.2.vbs



Autodesk Softimage 2011