Skip to main content

polygon_offset_round

Function polygon_offset_round 

Source
pub fn polygon_offset_round(
    poly: &[Point2],
    distance: f64,
    segments_per_corner: usize,
) -> Vec<Point2>
Expand description

Polygon offset with arc joins at convex corners.

segments_per_corner controls arc resolution.