Skip to main content

polygon

Function polygon 

Source
pub fn polygon(
    sketch: &mut Sketch,
    corners: &[P2],
) -> (Vec<PointId>, Vec<CurveId>)
Expand description

A closed polygon through corners, one line per side: its points and lines.