Skip to main content

Module polygon

Module polygon 

Source

Enums§

PolygonClass

Functions§

area_term
One oriented shoelace term (twice the edge’s area contribution).
classify
Boundary band followed by form-K parity. Keep the caller’s segment guard.
crosses_ray
Form-K horizontal-ray crossing; operand order is shared with the trim indexes.
parity_inside
Even-odd parity over a closed polygon, including its closing edge.
signed_area_2d
twice_signed_area_2d