vle-vector-angletoref
(vle-vector-angletoref vec1 vec2
normal)
This function returns the angle between
vectors vec1 and vec2, using normal
as reference vector, which defines the vector
plane.
Arguments |
vec1 a 2d or 3d vector list |
Return |
double, angle in radians, in range 0 ... 2PI |
Example |
(setq v1 '(2 0 0) v2 '(0 3 0)
normal '(0 0 1)) |
Remarks |
input vectors must not be unit-length (non-normalised vectors are allowed) |
© Bricsys NV. All rights reserved. |