pub enum SurfaceValidationError {
Show 20 variants
InvalidOptions,
EmptySurface,
MissingSurfaceNode {
element_id: u32,
node_id: u32,
},
MissingSourceFace {
source_face_id: u32,
},
MissingSourceEdge {
source_edge_id: u32,
},
MissingCadFaceId {
element_id: u32,
},
MissingCadFace {
cad_face_id: String,
},
InvalidCadLoopEdgeId {
cad_face_id: String,
loop_edge_id: String,
},
SourceEdgeOutsideCadFace {
cad_face_id: String,
source_edge_id: u32,
},
EdgeConformityFailed {
source_edge_id: u32,
source_edge_node_ids: [u32; 2],
recovered_segment_count: usize,
},
OpenSourceLoop {
source_edge_id: u32,
endpoint_id: u32,
incidence_count: usize,
},
DegenerateElement {
element_id: u32,
},
InvalidElementNormal {
element_id: u32,
},
InvalidElementArea {
element_id: u32,
},
InvalidParametricEvidence {
element_id: u32,
},
InvalidProjectionEvidence {
element_id: u32,
},
ProjectionError {
element_id: u32,
error_m: f64,
max_error_m: f64,
},
OrientationMismatch {
element_id: u32,
source_face_id: u32,
alignment: f64,
min_alignment: f64,
},
UncoveredSourceFace {
source_face_id: u32,
},
UncoveredCadFace {
cad_face_id: String,
},
}Variants§
InvalidOptions
EmptySurface
MissingSurfaceNode
MissingSourceFace
MissingSourceEdge
MissingCadFaceId
MissingCadFace
InvalidCadLoopEdgeId
SourceEdgeOutsideCadFace
EdgeConformityFailed
OpenSourceLoop
DegenerateElement
InvalidElementNormal
InvalidElementArea
InvalidParametricEvidence
InvalidProjectionEvidence
ProjectionError
OrientationMismatch
UncoveredSourceFace
UncoveredCadFace
Trait Implementations§
Source§impl Clone for SurfaceValidationError
impl Clone for SurfaceValidationError
Source§fn clone(&self) -> SurfaceValidationError
fn clone(&self) -> SurfaceValidationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SurfaceValidationError
impl Debug for SurfaceValidationError
Source§impl Display for SurfaceValidationError
impl Display for SurfaceValidationError
Source§impl Error for SurfaceValidationError
impl Error for SurfaceValidationError
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 SurfaceValidationError
impl PartialEq for SurfaceValidationError
impl StructuralPartialEq for SurfaceValidationError
Auto Trait Implementations§
impl Freeze for SurfaceValidationError
impl RefUnwindSafe for SurfaceValidationError
impl Send for SurfaceValidationError
impl Sync for SurfaceValidationError
impl Unpin for SurfaceValidationError
impl UnsafeUnpin for SurfaceValidationError
impl UnwindSafe for SurfaceValidationError
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