pub fn chamfer_polygon_2d(polygon: &[Point2], distance: f64) -> Vec<Point2> ⓘ
Cut all corners of a 2D polygon with flat bevels.