pub struct MeshRegion {
pub id: u32,
pub triangle_count: usize,
pub area: f64,
pub bbox_min: Vec3,
pub bbox_max: Vec3,
pub carrier: RegionCarrier,
pub max_deviation: f64,
pub rms_deviation: f64,
pub max_normal_angle_deg: f64,
}Expand description
One smooth region of the mesh with its recognized carrier and fit
residuals (residuals are zero for Freeform regions — no fit).
Fields§
§id: u32§triangle_count: usize§area: f64§bbox_min: Vec3§bbox_max: Vec3§carrier: RegionCarrier§max_deviation: f64Maximum absolute vertex deviation from the accepted carrier.
rms_deviation: f64Root-mean-square vertex deviation from the accepted carrier.
max_normal_angle_deg: f64Maximum angle between a triangle normal and the carrier normal, deg.
Trait Implementations§
Source§impl Clone for MeshRegion
impl Clone for MeshRegion
Source§fn clone(&self) -> MeshRegion
fn clone(&self) -> MeshRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MeshRegion
impl Debug for MeshRegion
Source§impl<'de> Deserialize<'de> for MeshRegion
impl<'de> Deserialize<'de> for MeshRegion
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 Freeze for MeshRegion
impl RefUnwindSafe for MeshRegion
impl Send for MeshRegion
impl Sync for MeshRegion
impl Unpin for MeshRegion
impl UnsafeUnpin for MeshRegion
impl UnwindSafe for MeshRegion
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