Skip to main content

polygon

Function polygon 

Source
pub fn polygon<S: Scalar>(
    points: &[Vector2<S>],
) -> GeopResult<Vec<NurbCurve2D<S>>>
Expand description

The closed polygon through points (and back to the first), one line per side — the simplest profile loop for crate::extrude::extrude.