pub struct CurveProjectionCertificate2 {
pub parameter: Scalar,
pub point: Point2,
pub distance: Scalar,
pub distance_lower_bound: Scalar,
pub distance_upper_bound: Scalar,
pub possible_minimizer_intervals: Vec<ParameterInterval>,
pub visited_nodes: u32,
}Expand description
Globally bounded closest-point result for a planar curve.
Fields§
§parameter: ScalarNative parameter of the attained representative candidate.
point: Point2Scalar-oracle evaluation at parameter.
distance: ScalarEuclidean distance of the representative scalar evaluation.
distance_lower_bound: ScalarConservative lower bound on the global minimum distance.
distance_upper_bound: ScalarConservative 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§
Source§impl Clone for CurveProjectionCertificate2
impl Clone for CurveProjectionCertificate2
Source§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 moreSource§impl Debug for CurveProjectionCertificate2
impl Debug 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