- Interval rext = me->get_bound (RIGHT)->extent (common, X_AXIS);
-
-
- Real w =(rext.is_empty ()
- ? me->get_bound (RIGHT)->relative_coordinate (common, X_AXIS)
- : rext[RIGHT])
- - me->get_bound (LEFT)->relative_coordinate (common, X_AXIS);
+ Real right_point = robust_relative_extent (me->get_bound (RIGHT),
+ common, X_AXIS).linear_combination (CENTER);
+ Real left_point = me->get_bound (LEFT)->relative_coordinate (common, X_AXIS);