pub struct ElementTypeStats {
pub n_equilateral: u32,
pub n_right: u32,
pub n_obtuse: u32,
pub n_acute: u32,
pub n_degenerate: u32,
pub total: u32,
}Expand description
Statistics about element shapes in the mesh.
Fields§
§n_equilateral: u32Number of near-equilateral triangles (all angles within 50-70 degrees).
n_right: u32Number of right triangles (one angle within 85-95 degrees).
n_obtuse: u32Number of obtuse triangles (one angle > 95 degrees).
n_acute: u32Number of acute triangles (all angles < 85 degrees, non-equilateral).
n_degenerate: u32Number of degenerate triangles (area < threshold).
total: u32Total number of triangles.
Trait Implementations§
Source§impl Clone for ElementTypeStats
impl Clone for ElementTypeStats
Source§fn clone(&self) -> ElementTypeStats
fn clone(&self) -> ElementTypeStats
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 ElementTypeStats
impl Debug for ElementTypeStats
Source§impl Default for ElementTypeStats
impl Default for ElementTypeStats
Source§fn default() -> ElementTypeStats
fn default() -> ElementTypeStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ElementTypeStats
impl RefUnwindSafe for ElementTypeStats
impl Send for ElementTypeStats
impl Sync for ElementTypeStats
impl Unpin for ElementTypeStats
impl UnsafeUnpin for ElementTypeStats
impl UnwindSafe for ElementTypeStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.