Struct Extremum
pub struct Extremum {
pub lower: f64,
pub upper: f64,
pub on_first: DVec3,
pub on_second: DVec3,
pub first: DVec2,
pub second: DVec2,
}Expand description
The smallest distance between two pieces, bracketed, with points on each at the upper bound.
Fields§
§lower: f64Certain lower bound on the distance.
upper: f64Distance between the witnesses: an upper bound.
on_first: DVec3Point on the first piece.
on_second: DVec3Point on the second piece.
first: DVec2Its parameters on the first piece (t, or (u, v); NaN for a
point).
second: DVec2Its parameters on the second piece.
Trait Implementations§
impl Copy for Extremum
impl StructuralPartialEq for Extremum
Auto Trait Implementations§
impl Freeze for Extremum
impl RefUnwindSafe for Extremum
impl Send for Extremum
impl Sync for Extremum
impl Unpin for Extremum
impl UnwindSafe for Extremum
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more