vle-vector-getperpvector
(vle-vector-getperpvector
vec)
This function returns a vector which is
perpendicular to vec.
|
Arguments |
vec a 2d or 3d vector list |
|
Return |
(vecX vecY vecZ) always a 3d vector list, perpendicular (orthogonal) to input vector vec |
|
Example |
(setq vec '(2 0
0)) (0.0 1.0 0.0) |
|
Remarks |
input vector must not be unit-length (non-normalised vectors are allowed) |
| © Bricsys NV. All rights reserved. |