Struct cavalier_contours::polyline::internal::pline_boolean::PrunedSlices
source · pub struct PrunedSlices<T> {
pub slices_remaining: Vec<BooleanPlineSlice<T>>,
pub start_of_pline2_slices: usize,
pub start_of_pline1_overlapping_slices: usize,
pub start_of_pline2_overlapping_slices: usize,
}
Expand description
Holds all the slices after pruning them for the boolean operation performed. These slices can then be stitched together to form the final result.
Fields§
§slices_remaining: Vec<BooleanPlineSlice<T>>
Remaining slices to be stitched together.
This Vec holds all the slices ordered according to their source and type: first block is
pline1 non-overlapping slices, next block starting at start_of_pline2_slices
index
position is non-overlapping slices from pline2, next block starting at
start_of_pline1_overlapping_slices
is pline1 overlapping slices,
and finally the last block starting at start_of_pline1_overlapping_slices
holds pline2
overlapping slices.
start_of_pline2_slices: usize
§start_of_pline1_overlapping_slices: usize
§start_of_pline2_overlapping_slices: usize