pub enum LineCircle2DIntersection {
Points((f64, Point2D), (f64, Point2D)),
Tangent(f64, Point2D),
Empty,
}Expand description
Result of intersecting a 2D line with a 2D circle.
Variants§
Points((f64, Point2D), (f64, Point2D))
Two hits: (line parameter, point) pairs, ordered.
Tangent(f64, Point2D)
Grazing contact: line parameter and point.
Empty
No intersection.
Trait Implementations§
Source§impl Clone for LineCircle2DIntersection
impl Clone for LineCircle2DIntersection
impl Copy for LineCircle2DIntersection
Source§impl Debug for LineCircle2DIntersection
impl Debug for LineCircle2DIntersection
Source§impl PartialEq for LineCircle2DIntersection
impl PartialEq for LineCircle2DIntersection
impl StructuralPartialEq for LineCircle2DIntersection
Auto Trait Implementations§
impl Freeze for LineCircle2DIntersection
impl RefUnwindSafe for LineCircle2DIntersection
impl Send for LineCircle2DIntersection
impl Sync for LineCircle2DIntersection
impl Unpin for LineCircle2DIntersection
impl UnsafeUnpin for LineCircle2DIntersection
impl UnwindSafe for LineCircle2DIntersection
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