Decompose 2D polygons into convex pieces.
A Rust implementation inspired by NumPy for numerical computing (NumRS2)