A greedy maximal sweepline algorithm for a Jordan curve (ArXiv cs.CG Recent Papers, 2026)