Skip to main content

SeamWindowRefusal

Enum SeamWindowRefusal 

Source
#[non_exhaustive]
pub enum SeamWindowRefusal { Ambiguous, Straddled, UncertifiedLength, NotIncreasing, PastBasisEnd, CertificationBudgetExceeded, }
Expand description

Why the kernel refused a station’s seam-snapping window (#423), or a run’s (#429).

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Ambiguous

The window holds two seams of the basis, so the station’s seam side does not say which one it lies on. The model’s precision is coarser than the distance between two seams.

§

Straddled

A seam’s certified position straddles the window’s edge, so whether the station lies on it within precision cannot be told.

§

UncertifiedLength

A seam’s distance cannot be certified (an offset of a banked or a 3D intrinsic curve, a tolerance below the points’ rounding, and the other cases the kernel names). An offset by distances along an ellipse or a B-spline is certified since axiolid-evaluate 0.3.15 (axiolid/kernel#307, #443).

§

NotIncreasing

A run’s stations, snapped onto seams within their windows, no longer increase strictly in distance: two snapped onto one seam, or one past its neighbour (#429). The model’s precision is coarser than the distance between them.

§

PastBasisEnd

An offset run continued to its basis’s end, whose distance the kernel measures (#433), states a station at or past that end, so its stations do not increase strictly once the end is resolved. IFC4.3 ADD2 (8.9.3.42.3) continues the offsets only where they stop short of the end; one stated within the model’s precision of it is refused too, since this crate cannot tell it from the end.

§

CertificationBudgetExceeded

Certifying a seam’s distance to the window’s tolerance (a thousandth of it) needs more panels than the kernel’s budget allows: a piece whose length is a quadrature, before the window or reaching it, whose derivatives the kernel bounds only coarsely for so fine a tolerance (#443). Since axiolid-evaluate 0.3.15 refines its panels adaptively (axiolid/kernel#307), an ordinary curve certifies to 1e-8 relative and below within the budget.

Trait Implementations§

Source§

impl Clone for SeamWindowRefusal

Source§

fn clone(&self) -> SeamWindowRefusal

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for SeamWindowRefusal

Source§

impl Debug for SeamWindowRefusal

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for SeamWindowRefusal

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for SeamWindowRefusal

Source§

impl PartialEq for SeamWindowRefusal

Source§

fn eq(&self, other: &SeamWindowRefusal) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for SeamWindowRefusal

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.