Expand description
Simple-polygon triangulation by ear clipping, with hole support.
Orientation is decided by the certified orient2d predicate rather than a
raw sign test, so a near-degenerate vertex cannot silently flip a triangle.
Functionsยง
- ring_
orientation - Orientation of a ring, or
Nonewhen it encloses no certifiable area. - signed_
area2 - Twice the signed area of a closed ring. Positive means counter-clockwise.
- triangulate_
simple - Triangulate a simple CCW polygon by ear clipping.