Expand description
2D polygon offset via parallel edge translation and miter joins.
Given a closed polygon in 2D, offsets each edge by a signed distance (positive = outward, negative = inward) and computes new vertex positions at the intersection of adjacent offset lines.
Functionsยง
- offset_
polygon_ 2d - Offset a closed 2D polygon by a signed distance.