fabien van mook

all packages "fvm-*"

package "fvm-geometry"

function file "aeo2vec.m"

Function v2 = aeo2vec(v1,aeo1,[],[],aeo2)
         v2 = aeo2vec(v1,aeo1,[],[],aeo2,[],[])
         v2 = aeo2vec(v1,f1,  [],u1,f2,[],u2)
         v2 = aeo2vec(v1,f1,  l1,u1,f2,l2,u2)

returns vector v2, which is obtained by turning vector v1
belonging to a given orientation 1 to a given orientation
2, around the origin [0 0 0]. Vectors v1 and v2 represent
three-dimensional points.

Orientation 1 and 2 are defined either by azimuth,
elevation and obliquity angles aeo1 and aeo2, or by front,
(possibly left) and up vectors f1, (l1,) and u1, and f2,
(l2,) and u2, respectively.

The angles in aeo1 and aeo2 are given in degrees; their
definitions are described in m-files aeo2flu.m and
flu2aeo.m.

Input/output arguments v1 and v2 are M-by-3 matrices. The
other input arguments are 1-by-3 matrices.

The function internally calls the following non-standard
m-files:
-- aeo2flu.m
-- flu2aeo.m
-- cross3d.m
-- ang2vec.m


(c) 2026 fabien van mook

2026.08.20 release of this file within package "fvm-geometry" under GNU GPLv3+