Axis enum cleanup
- Don't increment
Axis
values- Loop with range-for syntax using initialization lists
- Remove the
incr (Axis)
function - Use
other_axis (Axis)
in more places
- Change the type of
NO_AXES
fromAxis
tosize_t
. ReplaceSide_position_interface::get_axis
withis_on_x_axis
andis_on_y_axis
instead of returning anAxis
set toNO_AXES
. -
Align_interface
: convertSCM
toAxis
robustly.X_AXIS
was chosen as the default just because it has the value 0. - Use
from_scm<Axis>
more widely. These places seemed to be coded robustly already, but consistency is good.
Merge request reports
Activity
Please register or sign in to reply