Function aeo = aeo2aeo(aeo)
aeo = aeo2aeo(aeo,epsilon)
returns equivalent values for the given azimuth,
elevation ane obliquity. The resulting values will adhere
to canonical ranges:
-- azimuth: from 0 (inclusively) to 360 (exclusively);
-- elevation: from -90 (inclusively) to +90 (inclusively);
-- obliquity: from 0 (inclusively) to 360 (exclusively);
it tends to be 0 for an elevation of -90 or +90 degrees.
The matrix aeo has three columns and each row contains
azimuth, elevation and obliquity. Their definitions are
described in m-files aeo2flu.m and flu2aeo.m.
The optional second argument epsilon is a scalar for the
maximal error allowed to consider an elevation equal to
-90 or +90 degrees. Its default is 1e-6.
The function is perhaps more precise and less prone to
round-off errors than the following alternative code:
[f,~,u] = aeo2flu(aeo)
aeo = flu2aeo(f,[],u)
(c) 2026 fabien van mook
2026.08.20 release of this file within package "fvm-geometry" under GNU GPLv3+