pub enum SurfaceDiscretizationError {
Show 15 variants
InvalidCurveBoundary(CurveValidationError),
MissingFaceVertex {
face_id: u32,
node_id: u32,
},
MissingFaceEdge {
face_id: u32,
edge_id: u32,
},
MissingCadFaceFrame {
source_face_id: u32,
},
CadFaceWithoutSourceFaces {
cad_face_id: String,
},
CadFaceWithoutLoops {
cad_face_id: String,
},
MissingCadFaceLoop {
cad_face_id: String,
loop_id: String,
},
CadLoopFaceMismatch {
cad_face_id: String,
loop_id: String,
actual_face_id: String,
},
InvalidCadLoopEdgeId {
cad_face_id: String,
loop_edge_id: String,
},
MissingCurveEdge {
source_edge_id: u32,
},
MissingCadCurveProvenance {
source_edge_id: u32,
},
InvalidFaceEdgeOrientation {
face_id: u32,
edge_id: u32,
},
CadProjectionOutsideFaceDomain {
face_id: u32,
node_id: u32,
},
EmptyFaceLoop {
face_id: u32,
},
InvalidFaceLoopTopology {
face_id: u32,
node_id: u32,
incident_segment_count: usize,
},
}Variants§
InvalidCurveBoundary(CurveValidationError)
MissingFaceVertex
MissingFaceEdge
MissingCadFaceFrame
CadFaceWithoutSourceFaces
CadFaceWithoutLoops
MissingCadFaceLoop
CadLoopFaceMismatch
InvalidCadLoopEdgeId
MissingCurveEdge
MissingCadCurveProvenance
InvalidFaceEdgeOrientation
CadProjectionOutsideFaceDomain
EmptyFaceLoop
InvalidFaceLoopTopology
Trait Implementations§
Source§impl Clone for SurfaceDiscretizationError
impl Clone for SurfaceDiscretizationError
Source§fn clone(&self) -> SurfaceDiscretizationError
fn clone(&self) -> SurfaceDiscretizationError
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 SurfaceDiscretizationError
impl Debug for SurfaceDiscretizationError
Source§impl Display for SurfaceDiscretizationError
impl Display for SurfaceDiscretizationError
Source§impl Error for SurfaceDiscretizationError
impl Error for SurfaceDiscretizationError
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()
impl StructuralPartialEq for SurfaceDiscretizationError
Auto Trait Implementations§
impl Freeze for SurfaceDiscretizationError
impl RefUnwindSafe for SurfaceDiscretizationError
impl Send for SurfaceDiscretizationError
impl Sync for SurfaceDiscretizationError
impl Unpin for SurfaceDiscretizationError
impl UnsafeUnpin for SurfaceDiscretizationError
impl UnwindSafe for SurfaceDiscretizationError
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