• Mathieu Giraud's avatar
    core/segment.{h,cpp}: extensive refactor, introducing AlignBox · b311fa68
    Mathieu Giraud authored
    Previously, we have at many places things like "int *del_DD_left, int *DD_start, int *best_DD, int *DD_end, int *del_DD_right".
    This was not so clean and error-prone. Now all these parameters are stored into a ‘AlignBox’ object.
    This will lead to further simplifications of the code, better code maintenance, and allow some extensions.
    b311fa68
segment.cpp 29.5 KB