Brute force Though it quickly gets very slow as the div points go up. WARNING!
max distance_2024_Jul22a.gh (18.3 KB)
300 points is more accurate:
Easy enough to add all the perimeter discontinuity points to the div points…
HEY In this case, if you replace divide curve with discontinuity points, the code is fast and more accurate!
max distance_2024_Jul22b.gh (18.4 KB)