#[non_exhaustive]pub enum ExactBRepError {
Empty,
Topology(BRepHealth),
MissingEdgeCurve {
edge_index: usize,
},
UnknownCurve3 {
edge_index: usize,
},
MissingEdgeInterval {
edge_index: usize,
},
InvalidEdgeInterval {
edge_index: usize,
},
MissingPcurve {
loop_index: usize,
use_index: usize,
},
UnknownCurve2 {
loop_index: usize,
use_index: usize,
},
MissingPcurveInterval {
loop_index: usize,
use_index: usize,
},
InvalidPcurveInterval {
loop_index: usize,
use_index: usize,
},
MissingFaceSurface {
face_index: usize,
},
UnknownSurface {
face_index: usize,
},
}Expand description
Why exact B-rep assembly was refused.
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.
Empty
A result without faces is not a boundary representation.
Topology(BRepHealth)
Generic topology has unresolved handles or invalid loop/face structure.
MissingEdgeCurve
An edge did not state its exact three-dimensional support.
UnknownCurve3
An edge support handle does not resolve in the 3D curve catalog.
MissingEdgeInterval
An edge did not state its native support-curve interval.
InvalidEdgeInterval
An edge support interval was non-finite or zero-length.
MissingPcurve
An edge use did not state its trim curve in the owning face’s parameters.
UnknownCurve2
A pcurve support handle does not resolve in the 2D curve catalog.
MissingPcurveInterval
A pcurve did not state its native interval.
InvalidPcurveInterval
A pcurve interval was non-finite or zero-length.
MissingFaceSurface
A face did not state its exact support surface.
UnknownSurface
A face support handle does not resolve in the surface catalog.
Trait Implementations§
Source§impl Clone for ExactBRepError
impl Clone for ExactBRepError
Source§fn clone(&self) -> ExactBRepError
fn clone(&self) -> ExactBRepError
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 ExactBRepError
impl Debug for ExactBRepError
Source§impl Display for ExactBRepError
impl Display for ExactBRepError
Source§impl Error for ExactBRepError
impl Error for ExactBRepError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ExactBRepError
impl PartialEq for ExactBRepError
impl Eq for ExactBRepError
impl StructuralPartialEq for ExactBRepError
Auto Trait Implementations§
impl Freeze for ExactBRepError
impl RefUnwindSafe for ExactBRepError
impl Send for ExactBRepError
impl Sync for ExactBRepError
impl Unpin for ExactBRepError
impl UnwindSafe for ExactBRepError
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