1% =========================================================================== %
2%> @brief convert an axis to a number
4%> @param axis axis to convert (x, y, z)
6%> @retval num number (1, 2, 3)
8%> @copyright see the file @ref LICENSE in the root directory of the repository
9% =========================================================================== %
17 case {
"x",
'x',
"X",
'X'}
19 case {
"y",
'y',
"Y",
'Y'}
21 case {
"z",
'z',
"Z",
'Z'}
24 error(
"The axis %s does not correspond to a number", axis)
function axis2num(in axis)
convert an axis to a number