As mentioned off hand here,
#41 (comment)
currently F2c allows turns to spill over the input borders.
In certain cases, this is not acceptable.
You can solve this issue a number of ways:
- precompute how much the path is spilling over, and shortening the parent swaths by that amount
- iteratively expanding the headlands until the turns are no longer violating the border
- others?