pub struct TrimRequest {
pub solid: Vec<u8>,
pub scan: TriMesh,
pub depth: f64,
pub gap: f64,
pub away: bool,
}Expand description
A solid trimmed where a scan breaks off: the scan’s triangles lying
deeper than depth inside the solid are the break, which is extended
past the solid, thickened by gap to each side and cut away. Both in
the solid’s frame.
Fields§
§solid: Vec<u8>The solid, in the kernel’s native format.
scan: TriMesh§depth: f64§gap: f64§away: boolKeep what lies on the side of the break away from the scan (the piece); otherwise the side toward it.
Trait Implementations§
Source§impl Clone for TrimRequest
impl Clone for TrimRequest
Source§impl Debug for TrimRequest
impl Debug for TrimRequest
Source§impl<'de> Deserialize<'de> for TrimRequest
impl<'de> Deserialize<'de> for TrimRequest
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
Auto Trait Implementations§
impl Forget for TrimRequest
impl Freeze for TrimRequest
impl RefUnwindSafe for TrimRequest
impl Send for TrimRequest
impl Sync for TrimRequest
impl Unpin for TrimRequest
impl UnsafeUnpin for TrimRequest
impl UnwindSafe for TrimRequest
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