Function cavalier_contours::polyline::internal::pline_boolean::stitch_slices_into_closed_polylines
source · pub fn stitch_slices_into_closed_polylines<P, R, T, S, O>(
slices: &[BooleanPlineSlice<T>],
source_pline1: &P,
source_pline2: &R,
stitch_selector: &S,
pos_equal_eps: T
) -> Vec<BooleanResultPline<O>>where
P: PlineSource<Num = T> + ?Sized,
R: PlineSource<Num = T> + ?Sized,
T: Real,
S: StitchSelector,
O: PlineCreation<Num = T>,
Expand description
Stitches open polyline slices together into closed polylines. The open polylines must be
ordered/agree on direction (every start point connects with an end point). stitch_selector
is
used to determine priority of stitching in the case multiple possibilities exist.