vle-vector-add


(vle-vector-add  vec1  vec2)

This function returns the addition of vector vec2 to vector vec1.

Arguments

vec1  a 2d or 3d vector list

vec2  a 2d or 3d vector list

Return

(vecX vecY vecZ)  always a 3d vector list

Example

(vle-vector-add '(1 1 1) '(2 3 4))  returns '(3 4 5)

Remarks

'vec1' can also be interpreted as 'point1', adding vector 'vec2' to point 'vec1' then



©  Bricsys NV. All rights reserved.