Expand description
2D polygon operations: clipping, filleting, chamfering, and segment detection.
Functionsยง
- chamfer_
polygon_ 2d - Cut all corners of a 2D polygon with flat bevels.
- cross_
2d - Cross product of vectors (b-a) and (c-a).
- fillet_
polygon_ 2d - Round all corners of a 2D polygon with arc approximations.
- find_
common_ segments - Find common (collinear, overlapping) edges between two polygons.
- sutherland_
hodgman_ clip - Sutherland-Hodgman polygon clipping algorithm.