Struct CurveProjectionCertificate2
pub struct CurveProjectionCertificate2 {
pub parameter: f64,
pub point: DVec2,
pub distance: f64,
pub distance_lower_bound: f64,
pub distance_upper_bound: f64,
pub possible_minimizer_intervals: Vec<ParameterInterval>,
pub visited_nodes: u32,
}Expand description
Globally bounded closest-point result for a planar curve.
Fields§
§parameter: f64Native parameter of the attained representative candidate.
point: DVec2Scalar-oracle evaluation at parameter.
distance: f64Euclidean distance of the representative scalar evaluation.
distance_lower_bound: f64Conservative lower bound on the global minimum distance.
distance_upper_bound: f64Conservative upper bound attained by the candidate enclosure.
possible_minimizer_intervals: Vec<ParameterInterval>Parameter cells not excluded from containing another global minimizer.
visited_nodes: u32Number of generated Bézier subdivision cells.
Implementations§
Trait Implementations§
§impl Clone for CurveProjectionCertificate2
impl Clone for CurveProjectionCertificate2
§fn clone(&self) -> CurveProjectionCertificate2
fn clone(&self) -> CurveProjectionCertificate2
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 CurveProjectionCertificate2
impl Debug for CurveProjectionCertificate2
§impl PartialEq for CurveProjectionCertificate2
impl PartialEq for CurveProjectionCertificate2
impl StructuralPartialEq for CurveProjectionCertificate2
Auto Trait Implementations§
impl Freeze for CurveProjectionCertificate2
impl RefUnwindSafe for CurveProjectionCertificate2
impl Send for CurveProjectionCertificate2
impl Sync for CurveProjectionCertificate2
impl Unpin for CurveProjectionCertificate2
impl UnwindSafe for CurveProjectionCertificate2
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