::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

Success
Angle in degrees between the two vectors
Failure
{}

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.