pub struct Piercing {
pub on_curve: f64,
pub on_surface: (f64, f64),
pub point: Point,
pub gap: f64,
}Expand description
One piercing of a surface by a curve.
Fields§
§on_curve: f64The parameter on the curve.
on_surface: (f64, f64)The parameters on the surface.
point: PointWhere, taken from the curve.
gap: f64The distance between the two evaluations there.
Trait Implementations§
impl Copy for Piercing
impl StructuralPartialEq for Piercing
Auto Trait Implementations§
impl Freeze for Piercing
impl RefUnwindSafe for Piercing
impl Send for Piercing
impl Sync for Piercing
impl Unpin for Piercing
impl UnsafeUnpin for Piercing
impl UnwindSafe for Piercing
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.