Enum ExactMeasureError
pub enum ExactMeasureError {
NonPlanarFace(&'static str),
MissingSurface,
DanglingReference,
Degenerate,
}Expand description
Why an exact B-rep could not be measured.
Kept exactly as published (exhaustive, four variants): a face this
module cannot integrate – a surface family it has no integral for, a
face whose pcurves bound no domain, a surface it cannot evaluate there,
an integral short of its error bound – is NonPlanarFace, whose name
predates curved faces, with the reason. Richer variants wait for a
coordinated breaking release.
Variants§
NonPlanarFace(&'static str)
A face cannot be integrated; the reason says why (originally only “its support surface is not planar”, hence the name).
MissingSurface
A face has no support surface attached.
DanglingReference
An edge referenced geometry the B-rep does not contain.
Degenerate
The boundary enclosed no volume.
Trait Implementations§
§impl Clone for ExactMeasureError
impl Clone for ExactMeasureError
§fn clone(&self) -> ExactMeasureError
fn clone(&self) -> ExactMeasureError
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 more§impl Debug for ExactMeasureError
impl Debug for ExactMeasureError
§impl Display for ExactMeasureError
impl Display for ExactMeasureError
§impl Error for ExactMeasureError
impl Error for ExactMeasureError
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()
§impl PartialEq for ExactMeasureError
impl PartialEq for ExactMeasureError
impl Eq for ExactMeasureError
impl StructuralPartialEq for ExactMeasureError
Auto Trait Implementations§
impl Freeze for ExactMeasureError
impl RefUnwindSafe for ExactMeasureError
impl Send for ExactMeasureError
impl Sync for ExactMeasureError
impl Unpin for ExactMeasureError
impl UnwindSafe for ExactMeasureError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more