pub struct ThicknessRequest {
pub points: Vec<[f64; 3]>,
pub normals: Vec<[f64; 3]>,
pub sphere: bool,
pub cone_deg: f64,
pub rays: u32,
pub facing_limit_deg: f64,
pub max: Option<f64>,
}Expand description
Points on a part whose wall thickness is read, and how.
Fields§
§points: Vec<[f64; 3]>§normals: Vec<[f64; 3]>Outward, one per point.
sphere: boolThe largest ball touching the point inside the material, in place of rays.
cone_deg: f64Rays spread within this many degrees of the inward normal, the shortest kept; along the normal alone at 0.
rays: u32§facing_limit_deg: f64Surfaces within this many degrees of edge-on to a ray are passed over.
max: Option<f64>A wall thicker than this reads unmeasured.
Trait Implementations§
Source§impl Clone for ThicknessRequest
impl Clone for ThicknessRequest
Source§impl Debug for ThicknessRequest
impl Debug for ThicknessRequest
Source§impl Default for ThicknessRequest
impl Default for ThicknessRequest
Source§impl<'de> Deserialize<'de> for ThicknessRequest
impl<'de> Deserialize<'de> for ThicknessRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ThicknessRequest
impl PartialEq for ThicknessRequest
Source§impl Serialize for ThicknessRequest
impl Serialize for ThicknessRequest
impl StructuralPartialEq for ThicknessRequest
Auto Trait Implementations§
impl Forget for ThicknessRequest
impl Freeze for ThicknessRequest
impl Move for ThicknessRequest
impl RefUnwindSafe for ThicknessRequest
impl Send for ThicknessRequest
impl Sync for ThicknessRequest
impl Unpin for ThicknessRequest
impl UnsafeUnpin for ThicknessRequest
impl UnwindSafe for ThicknessRequest
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