VectorReverse



Your Ad Here

Reverses the direction of a vector.

Syntax

Rhino.VectorReverse (arrVector)

Parameters

arrVector

Required.  Array.  The 3D vector.

Returns

Array

The resulting 3D vector if successful.

Null

On error.

Example

Dim arrVector

arrVector = Rhino.VectorReverse(Array(1,0,0))

Rhino.Print Rhino.Pt2Str(arrVector)

Also See

VectorCreate

VectorUnitize

 

 

Return to Rhino Index


Your Ad Here