fabien van mook

all packages "fvm-*"

package "fvm-geometry"

function file "flu2aeo.m"

Function AEO = flu2aeo(F,L)
         AEO = flu2aeo(F,[],U)
         AEO = flu2aeo(F,[],U,epsilon)

returns the azimuth, elevation and obliquity calculated
from the given front, left and up directions.

See into the help text of m-file aeo2flu.m for the
explanation of the input and output variables.

Function flu2aeo() has some peculiarities:
-- If F and L and U are input, only F and U will be used
   and L will be totally ignored.
-- When F and U are used as input, it is not necessary
   that these front and up directions are perpendicular to
   each other. The front and up direction vectors should
   form a plane. Therefore, if the angle between the given
   front and up direction vectors is 0 or 180 degrees, or
   if these vectors have zero length, the corresponding
   values of obliquity will be NaN.

The optional fourth argument epsilon is a scalar for the
maximal error allowed to consider (1) that the angle
between front and up direction vectors is 0 or 180
degrees, and (2) that the elevation is -90 or +90 degrees.
Its default is 1e-6.

The function internally calls the following non-standard
m-files:
-- xyz2aer.m
-- aer2xyz.m
-- cross3d.m
-- dot3d.m
-- vectorlength.m
-- vec2ang.m


(c) 2026 fabien van mook

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