pub enum GeometryFidelity {
Exact,
Tessellated {
chord_deviation_metres: f64,
},
}Expand description
How faithfully the measured geometry represents an object’s true shape.
Variants§
Exact
The mesh is the shape: every face of the object is planar.
Tessellated
The mesh approximates curved faces; no point of the true surface lies
farther than chord_deviation_metres from the mesh.
Implementations§
Source§impl GeometryFidelity
impl GeometryFidelity
Sourcepub fn tessellated(chord_deviation_metres: f64) -> Result<Self, ProximityError>
pub fn tessellated(chord_deviation_metres: f64) -> Result<Self, ProximityError>
A tessellation with a declared chord deviation.
Sourcepub fn deviation_metres(&self) -> f64
pub fn deviation_metres(&self) -> f64
How far the true surface may lie from the measured mesh.
Trait Implementations§
Source§impl Clone for GeometryFidelity
impl Clone for GeometryFidelity
impl Copy for GeometryFidelity
Source§impl Debug for GeometryFidelity
impl Debug for GeometryFidelity
Source§impl PartialEq for GeometryFidelity
impl PartialEq for GeometryFidelity
impl StructuralPartialEq for GeometryFidelity
Auto Trait Implementations§
impl Freeze for GeometryFidelity
impl RefUnwindSafe for GeometryFidelity
impl Send for GeometryFidelity
impl Sync for GeometryFidelity
impl Unpin for GeometryFidelity
impl UnsafeUnpin for GeometryFidelity
impl UnwindSafe for GeometryFidelity
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