Skip to main content

chamfer_polygon_2d

Function chamfer_polygon_2d 

Source
pub fn chamfer_polygon_2d(polygon: &[Point2], distance: f64) -> Vec<Point2> 
Expand description

Cut all corners of a 2D polygon with flat bevels.