pub struct VolumeRegion {
pub missing: bool,
pub volume: f64,
pub depth: f64,
pub layer: bool,
pub min: [f64; 3],
pub max: [f64; 3],
pub unsure: bool,
}Expand description
A connected volume where a scan and a solid differ the same way, in the solid’s frame.
Fields§
§missing: boolIn the solid and out of the scan; else in the scan and out of the solid.
volume: f64In mm³.
depth: f64How far apart the two surfaces stand across it, in mm.
layer: boolWider than twice its depth: a face standing off, rather than a boss or a pocket.
min: [f64; 3]§max: [f64; 3]§unsure: boolIt rests on a hole of the scan, or is too shallow for its volume to be read.
Trait Implementations§
Source§impl Clone for VolumeRegion
impl Clone for VolumeRegion
Source§impl Debug for VolumeRegion
impl Debug for VolumeRegion
Source§impl<'de> Deserialize<'de> for VolumeRegion
impl<'de> Deserialize<'de> for VolumeRegion
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 VolumeRegion
impl PartialEq for VolumeRegion
Source§impl Serialize for VolumeRegion
impl Serialize for VolumeRegion
impl StructuralPartialEq for VolumeRegion
Auto Trait Implementations§
impl Forget for VolumeRegion
impl Freeze for VolumeRegion
impl RefUnwindSafe for VolumeRegion
impl Send for VolumeRegion
impl Sync for VolumeRegion
impl Unpin for VolumeRegion
impl UnsafeUnpin for VolumeRegion
impl UnwindSafe for VolumeRegion
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