#[non_exhaustive]pub struct SphereEvidence {
pub support: Vec<usize>,
pub error: f64,
}Expand description
Which points determine the sphere 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 to four points the exact minimum sphere 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 sphere contains every input point. Zero for a single point.
Trait Implementations§
Source§impl Clone for SphereEvidence
impl Clone for SphereEvidence
Source§impl Debug for SphereEvidence
impl Debug for SphereEvidence
Source§impl PartialEq for SphereEvidence
impl PartialEq for SphereEvidence
impl StructuralPartialEq for SphereEvidence
Auto Trait Implementations§
impl Freeze for SphereEvidence
impl RefUnwindSafe for SphereEvidence
impl Send for SphereEvidence
impl Sync for SphereEvidence
impl Unpin for SphereEvidence
impl UnsafeUnpin for SphereEvidence
impl UnwindSafe for SphereEvidence
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