@thinkb4coding
I tried a few approaches, in the end I walked the cells recursively and stored oriented segments for each side not adjacent to another of the same plot, grouping the segments by region.
After walking the whole grid, it's just a matter of merging the contiguous segments for each region. The hard part for me was figuring out the special case with a cross-like junction.
Still a pretty difficult one compared to the previous ones this year.
=> More informations about this toot | View the thread | More toots from jadam_fr@hachyderm.io
=> View thinkb4coding@mastodon.social profile
text/gemini
This content has been proxied by September (3851b).