pub fn fit_outline(
loops: &[Loop2],
outline: &Outline,
) -> OgeomResult<Vec<Wire2d>>Expand description
Fit an outline of lines, tangent arcs and circles around a silhouette,
every point of it between play and play + 2 tolerance outside the
region the loops bound. See the module documentation.
The loops bound the points they wind around at least once, as
shadow gives them: outer boundaries
counter-clockwise, holes clockwise. The outline has one wire for each
loop of the band’s middle: a hole narrower than the band is closed
over, and with a negative play a part thinner than the band is gone.
With fill_below set, the band is about the silhouette with its
narrow holes and notches filled.
§Errors
OgeomError::Construction if
the tolerance is not positive, the play is not finite, round_below
is not an angle from zero to a half turn, or fill_below is not a
finite width of zero or more, and
OgeomError::Numeric if a point is not
finite.