Struct cavalier_contours::polyline::BooleanResultPline
source · pub struct BooleanResultPline<P>where
P: PlineCreation,{
pub pline: P,
pub subslices: Vec<BooleanPlineSlice<P::Num>>,
}
Expand description
Represents one of the polyline results from a boolean operation between two polylines.
Fields§
§pline: P
Resultant polyline.
subslices: Vec<BooleanPlineSlice<P::Num>>
Slices that were stitched together to form the pline
result. If boolean result info is not
BooleanResultInfo::Intersected this collection may be empty.
Implementations§
source§impl<P> BooleanResultPline<P>where
P: PlineCreation,
impl<P> BooleanResultPline<P>where P: PlineCreation,
pub fn new(pline: P, subslices: Vec<BooleanPlineSlice<P::Num>>) -> Self
Trait Implementations§
source§impl<P> Clone for BooleanResultPline<P>where
P: PlineCreation + Clone,
P::Num: Clone,
impl<P> Clone for BooleanResultPline<P>where P: PlineCreation + Clone, P::Num: Clone,
source§fn clone(&self) -> BooleanResultPline<P>
fn clone(&self) -> BooleanResultPline<P>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<P> Debug for BooleanResultPline<P>where
P: PlineCreation + Debug,
P::Num: Debug,
impl<P> Debug for BooleanResultPline<P>where P: PlineCreation + Debug, P::Num: Debug,
source§impl<P> Default for BooleanResultPline<P>where
P: PlineCreation + Default,
P::Num: Default,
impl<P> Default for BooleanResultPline<P>where P: PlineCreation + Default, P::Num: Default,
source§fn default() -> BooleanResultPline<P>
fn default() -> BooleanResultPline<P>
Returns the “default value” for a type. Read more