pub enum FaceDistanceError {
Unsupported,
Unavailable,
NoBody,
NotClosed,
NoFaces,
InexactHost,
AmbiguousFace,
InvalidMeasurement,
EvidenceFidelityMismatch,
SameObject,
}Expand description
Why a face distance could not be measured.
Variants§
Unsupported
The service does not measure face distances.
The adapter holds no measurable geometry for an object.
NoBody
An object is declared to occupy no material.
NotClosed
The host is not a closed solid, so it has no inside and no outward normals.
NoFaces
The host has no face of the requested class.
InexactHost
The host is a tessellation: its chords do not state the true faces’ normals, so no face class can be read from them.
AmbiguousFace
A face of the host lies at the 45° boundary between two classes within rounding, so which class it belongs to is undecided.
InvalidMeasurement
Coordinates or measured quantities are non-finite or incoherent.
EvidenceFidelityMismatch
The evidence’s exactness disagrees with the measured geometry’s fidelity.
SameObject
A body cannot be measured against its own faces.
Trait Implementations§
Source§impl Clone for FaceDistanceError
impl Clone for FaceDistanceError
impl Copy for FaceDistanceError
Source§impl Debug for FaceDistanceError
impl Debug for FaceDistanceError
Source§impl Display for FaceDistanceError
impl Display for FaceDistanceError
impl Eq for FaceDistanceError
Source§impl Error for FaceDistanceError
impl Error for FaceDistanceError
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()