Lior Sinai 1/11/2025

Notes on the Martinez-Rueda Polygon Clipping algorithm

Read Original

This technical article details the author's implementation and modifications of the Martinez-Rueda algorithm for computing boolean operations (intersection, union, difference, XOR) between polygons. It compares the algorithm to Weiler-Atherton, discusses its segment-level approach and sensitivity to numerical inaccuracies, and focuses on fixes for issues arising from the strict ordering in the Bentley-Ottmann line intersection component.

Notes on the Martinez-Rueda Polygon Clipping algorithm

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser