Тріангуляція Earcut

Тріангулює багатокутник з отворами через earcut і перевіряє, що сума площ трикутників дорівнює площі полігона.

Triangulate a polygon with holes using earcut and verify that the triangle area matches the polygon area.