Skip to main content

n_sided_reentrant_corners

Function n_sided_reentrant_corners 

Source
pub fn n_sided_reentrant_corners(
    sides: &[NurbsCurve],
) -> Result<Vec<usize>, NSidedRefusal>
Expand description

The re-entrant corners of a loop of 3 to 12 curves given in order round it, either way along each (corner k is where side k starts, after orienting head to tail from side 0). A boundary fill uses it to send a four-sided loop with a re-entrant corner to n_sided_fill.