pub enum Intersection<F: Float, P: PointLike<F>> {
Point(P),
CollinearSegment(Line<F, P>),
Coincident(Line<F, P>),
}Expand description
An intersection between two Line.
Variants§
Implementations§
Source§impl<F: Float, P: PointLike<F>> Intersection<F, P>
impl<F: Float, P: PointLike<F>> Intersection<F, P>
Source§impl<F: Float, P: PointLike<F>> Intersection<F, P>
impl<F: Float, P: PointLike<F>> Intersection<F, P>
Sourcepub fn new_collinear_segment(f0: Line<F, P>) -> Self
pub fn new_collinear_segment(f0: Line<F, P>) -> Self
Constructs a new Intersection::CollinearSegment.
Source§impl<F: Float, P: PointLike<F>> Intersection<F, P>
impl<F: Float, P: PointLike<F>> Intersection<F, P>
Sourcepub fn new_coincident(f0: Line<F, P>) -> Self
pub fn new_coincident(f0: Line<F, P>) -> Self
Constructs a new Intersection::Coincident.
Trait Implementations§
Source§impl<F: Clone + Float, P: Clone + PointLike<F>> Clone for Intersection<F, P>
impl<F: Clone + Float, P: Clone + PointLike<F>> Clone for Intersection<F, P>
Source§fn clone(&self) -> Intersection<F, P>
fn clone(&self) -> Intersection<F, P>
Returns a duplicate 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<F: Float, P: PointLike<F>> PrecisionRound for Intersection<F, P>
impl<F: Float, P: PointLike<F>> PrecisionRound for Intersection<F, P>
impl<F: Float, P: PointLike<F>> StructuralPartialEq for Intersection<F, P>
Auto Trait Implementations§
impl<F, P> Freeze for Intersection<F, P>where
P: Freeze,
impl<F, P> RefUnwindSafe for Intersection<F, P>where
P: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, P> Send for Intersection<F, P>
impl<F, P> Sync for Intersection<F, P>
impl<F, P> Unpin for Intersection<F, P>
impl<F, P> UnwindSafe for Intersection<F, P>where
P: UnwindSafe,
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more