Enum cavalier_contours::core::math::CircleCircleIntr
source · pub enum CircleCircleIntr<T>where
T: Real,{
NoIntersect,
TangentIntersect {
point: Vector2<T>,
},
TwoIntersects {
point1: Vector2<T>,
point2: Vector2<T>,
},
Overlapping,
}
Expand description
Holds the result of finding the intersect between two circles.
Variants§
NoIntersect
No intersects found.
TangentIntersect
One tangent intersect point found.
TwoIntersects
Fields
Simple case of two intersect points found.
Overlapping
Circles overlap each other (same circle).
Trait Implementations§
source§impl<T> Clone for CircleCircleIntr<T>
impl<T> Clone for CircleCircleIntr<T>
source§fn clone(&self) -> CircleCircleIntr<T>
fn clone(&self) -> CircleCircleIntr<T>
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<T> Debug for CircleCircleIntr<T>
impl<T> Debug for CircleCircleIntr<T>
impl<T> Copy for CircleCircleIntr<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for CircleCircleIntr<T>where
T: RefUnwindSafe,
impl<T> Send for CircleCircleIntr<T>where
T: Send,
impl<T> Sync for CircleCircleIntr<T>where
T: Sync,
impl<T> Unpin for CircleCircleIntr<T>where
T: Unpin,
impl<T> UnwindSafe for CircleCircleIntr<T>where
T: 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