#[non_exhaustive]pub enum ExactCurveRefusal {
UnsupportedCurve,
UnsupportedSurface,
NonFinite,
Degenerate,
PartialOverlap,
}Expand description
Why an exact curve intersection was not computed.
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.
UnsupportedCurve
The curve is not a line, circle or ellipse. B-spline curves go through the certified numeric path instead.
UnsupportedSurface
The surface is a B-spline surface or an unknown kind.
NonFinite
An input coordinate, radius or angle is NaN or infinite.
Degenerate
A frame is singular, a direction is zero, or a radius is not positive: there is no curve or surface to intersect.
PartialOverlap
The curve lies in the cone’s quadric but crosses its apex, so only part of it is on the modelled nappe: the overlap is a ray, which is neither a finite point set nor the whole curve.
Trait Implementations§
Source§impl Clone for ExactCurveRefusal
impl Clone for ExactCurveRefusal
Source§fn clone(&self) -> ExactCurveRefusal
fn clone(&self) -> ExactCurveRefusal
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 ExactCurveRefusal
impl Debug for ExactCurveRefusal
Source§impl PartialEq for ExactCurveRefusal
impl PartialEq for ExactCurveRefusal
impl Eq for ExactCurveRefusal
impl StructuralPartialEq for ExactCurveRefusal
Auto Trait Implementations§
impl Freeze for ExactCurveRefusal
impl RefUnwindSafe for ExactCurveRefusal
impl Send for ExactCurveRefusal
impl Sync for ExactCurveRefusal
impl Unpin for ExactCurveRefusal
impl UnwindSafe for ExactCurveRefusal
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