pub enum ConicLineHits {
None,
Tangent(ConicLineHit),
Secant(ConicLineHit, ConicLineHit),
Single(ConicLineHit),
OnConic,
}Expand description
Where a line meets a conic.
Variants§
None
The line misses the conic.
Tangent(ConicLineHit)
The line is tangent: one hit of multiplicity two.
Secant(ConicLineHit, ConicLineHit)
Two distinct hits, first then second along the line.
Single(ConicLineHit)
Exactly one hit because the line is parallel to an asymptote (or
the axis of a parabola): the quadratic in t degenerates to linear.
OnConic
The whole line lies on the conic (a degenerate conic).
Trait Implementations§
Source§impl Clone for ConicLineHits
impl Clone for ConicLineHits
Source§fn clone(&self) -> ConicLineHits
fn clone(&self) -> ConicLineHits
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 Debug for ConicLineHits
impl Debug for ConicLineHits
Source§impl PartialEq for ConicLineHits
impl PartialEq for ConicLineHits
impl StructuralPartialEq for ConicLineHits
Auto Trait Implementations§
impl Freeze for ConicLineHits
impl RefUnwindSafe for ConicLineHits
impl Send for ConicLineHits
impl Sync for ConicLineHits
impl Unpin for ConicLineHits
impl UnwindSafe for ConicLineHits
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