pub struct CurveCurveHit {
pub first: Scalar,
pub second: Scalar,
pub point: Point3,
pub multiplicity: usize,
}Expand description
One point where two curves meet, with its parameter on each.
Fields§
§first: ScalarParameter on the first curve.
second: ScalarParameter on the second curve.
point: Point3The point (on the first curve at first).
multiplicity: usize1 where the curves cross, 2 or more where they touch (the order of the contact, up to eight, for a traced curve). At an end of the traced curve, where the curve may stop short of a contact, it is the order the enclosures see there, not a class: a touch a rounding’s width from the end can read as a crossing.
Trait Implementations§
Source§impl Clone for CurveCurveHit
impl Clone for CurveCurveHit
Source§fn clone(&self) -> CurveCurveHit
fn clone(&self) -> CurveCurveHit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CurveCurveHit
Source§impl Debug for CurveCurveHit
impl Debug for CurveCurveHit
Source§impl PartialEq for CurveCurveHit
impl PartialEq for CurveCurveHit
impl StructuralPartialEq for CurveCurveHit
Auto Trait Implementations§
impl Freeze for CurveCurveHit
impl RefUnwindSafe for CurveCurveHit
impl Send for CurveCurveHit
impl Sync for CurveCurveHit
impl Unpin for CurveCurveHit
impl UnsafeUnpin for CurveCurveHit
impl UnwindSafe for CurveCurveHit
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