VectorMultiply

Multiplies two 3-D vectors.

Syntax

Rhino.VectorMultiply (arrVector1, arrVector2)

Parameters

arrVector1

Required.  Array.  The first 3-D vector.

arrVector2

Required.  Array.  The second 3-D vector.

Returns

Number

The resulting inner (dot) product if successful.

Null

On error.

Example

Dim dblProduct

dblProduct = Rhino.VectorMultiply( Array(2,2,2), Array(3,3,3))

Rhino.Print CStr(dblProduct)

Also See

VectorAdd

VectorCreate

VectorSubtract