Struct CurveDistanceCertificate2
pub struct CurveDistanceCertificate2 {
pub first_parameter: f64,
pub second_parameter: f64,
pub first_point: DVec2,
pub second_point: DVec2,
pub distance: f64,
pub distance_lower_bound: f64,
pub distance_upper_bound: f64,
pub possible_minimizer_boxes: Vec<CurvePairParameterBox>,
pub visited_nodes: u32,
}Expand description
Globally bounded minimum-distance result for two planar curves.
Fields§
§first_parameter: f64Representative parameter on the first curve.
second_parameter: f64Representative parameter on the second curve.
first_point: DVec2Scalar-oracle point on the first curve.
second_point: DVec2Scalar-oracle point on the second curve.
distance: f64Euclidean distance between representative scalar evaluations.
distance_lower_bound: f64Conservative lower bound on the global minimum distance.
distance_upper_bound: f64Conservative upper bound attained by a candidate enclosure.
possible_minimizer_boxes: Vec<CurvePairParameterBox>Product cells not excluded from containing another global minimizer.
visited_nodes: u32Number of generated product cells.
Implementations§
Trait Implementations§
§impl Clone for CurveDistanceCertificate2
impl Clone for CurveDistanceCertificate2
§fn clone(&self) -> CurveDistanceCertificate2
fn clone(&self) -> CurveDistanceCertificate2
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 more§impl Debug for CurveDistanceCertificate2
impl Debug for CurveDistanceCertificate2
§impl PartialEq for CurveDistanceCertificate2
impl PartialEq for CurveDistanceCertificate2
impl StructuralPartialEq for CurveDistanceCertificate2
Auto Trait Implementations§
impl Freeze for CurveDistanceCertificate2
impl RefUnwindSafe for CurveDistanceCertificate2
impl Send for CurveDistanceCertificate2
impl Sync for CurveDistanceCertificate2
impl Unpin for CurveDistanceCertificate2
impl UnwindSafe for CurveDistanceCertificate2
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