HyperWorks Tools

::hwat::math::AngleBetweenVectors

::hwat::math::AngleBetweenVectors

Previous topic Next topic No expanding text in this topic  

::hwat::math::AngleBetweenVectors

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::math::AngleBetweenVectors - Finds the angle in degrees between two vectors.

 

SYNTAX

::hwat::math::AngleBetweenVectors

 

ARGUMENTS

vector1

Tcl list of components for the first vector.

vector2

Tcl list of components for the second vector.

 

RETURNS

The angle in degrees between the two vectors if successful, {} otherwise.

 

EXAMPLE

::hwat::math::AngleBetweenVectors [list 1.0 2.0 3.0] [list 4.0 5.0 6.0] .

 

COMMENTS

The input lists must be of equal length.

 

See also

Math Functions