Rounding them individually works. When computing the avilable trim, we currently always divide the segment length by two to allow rounding at the other end too. This should not be done.
a) when trimming along a handle, and
b) at the segment to the previous node.
At the previous node, the rounding was either already done, or we did not want to do it. In either case we need not reserve room for that. We sort the indices before processing.
Rounding them individually works. When computing the avilable trim, we currently always divide the segment length by two to allow rounding at the other end too. This should not be done.
a) when trimming along a handle, and b) at the segment to the previous node.
At the previous node, the rounding was either already done, or we did not want to do it. In either case we need not reserve room for that. We sort the indices before processing.