pub struct RecognizedHole {
pub entry: [f64; 3],
pub direction: [f64; 3],
pub diameter: f64,
pub depth: f64,
pub through: bool,
pub drill_point_deg: Option<f64>,
pub faces: Vec<([f64; 3], [f64; 3])>,
}Expand description
A round hole found in a solid: a full bore, open at one end (blind) or both (through), closed by a flat bottom or a drill point.
Fields§
§entry: [f64; 3]The centre of its opening, on its axis.
direction: [f64; 3]Along its axis, into the material.
diameter: f64§depth: f64The bore’s length from the opening, not counting a drill point.
through: boolOpen at both ends.
drill_point_deg: Option<f64>The included angle of the cone that ends a blind hole, degrees;
None for a flat bottom or a through hole.
faces: Vec<([f64; 3], [f64; 3])>A point on each face the hole is made of (its bore, its bottom), with that face’s outward normal.
Trait Implementations§
Source§impl Clone for RecognizedHole
impl Clone for RecognizedHole
Source§impl Debug for RecognizedHole
impl Debug for RecognizedHole
Source§impl PartialEq for RecognizedHole
impl PartialEq for RecognizedHole
impl StructuralPartialEq for RecognizedHole
Auto Trait Implementations§
impl Forget for RecognizedHole
impl Freeze for RecognizedHole
impl RefUnwindSafe for RecognizedHole
impl Send for RecognizedHole
impl Sync for RecognizedHole
impl Unpin for RecognizedHole
impl UnsafeUnpin for RecognizedHole
impl UnwindSafe for RecognizedHole
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