#[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
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§impl Debug for ExactBRepError
impl Debug for ExactBRepError
Source§impl Display for ExactBRepError
impl Display for ExactBRepError
impl Eq 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)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()