#[non_exhaustive]pub struct CircleEvidence {
pub support: Vec<usize>,
pub error: f64,
}Expand description
Which points determine the circle and how exact the output is.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.support: Vec<usize>Indices into the input of the one, two or three points the exact minimum circle passes through and is determined by, ascending.
error: f64A bound on the distance between the returned centre and the exact one, and on the returned radius’s excess over the exact radius. The returned radius is never below the exact radius, so the returned circle contains every input point. Zero for a single point.
Trait Implementations§
Source§impl Clone for CircleEvidence
impl Clone for CircleEvidence
Source§fn clone(&self) -> CircleEvidence
fn clone(&self) -> CircleEvidence
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 CircleEvidence
impl Debug for CircleEvidence
Source§impl PartialEq for CircleEvidence
impl PartialEq for CircleEvidence
impl StructuralPartialEq for CircleEvidence
Auto Trait Implementations§
impl Freeze for CircleEvidence
impl RefUnwindSafe for CircleEvidence
impl Send for CircleEvidence
impl Sync for CircleEvidence
impl Unpin for CircleEvidence
impl UnwindSafe for CircleEvidence
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