pub struct MeshSolidReport {
pub triangles: usize,
pub faces: usize,
pub curved_faces: usize,
pub curved_faceted: usize,
pub vertices_welded: usize,
pub degenerate_dropped: usize,
pub duplicates_dropped: usize,
pub windings_flipped: usize,
pub edges_used_once: usize,
pub edges_used_more: usize,
pub orientation_conflicts: usize,
pub shells: usize,
}Expand description
What solid_from_mesh did, and where the mesh does not close.
Fields§
§triangles: usizeTriangles built from, after the dropped ones.
faces: usizeFaces built: the triangles, or their coplanar groups and recognized regions.
curved_faces: usizeFaces built on a recognized curved surface.
curved_faceted: usizeRegions recognized as curved whose boundary could not be placed on the surface exactly, and which were faceted instead.
vertices_welded: usizeMesh vertices that welded onto another.
degenerate_dropped: usizeTriangles dropped for having no area.
duplicates_dropped: usizeTriangles dropped for repeating another’s three vertices.
windings_flipped: usizeTriangles whose winding was reversed to agree with their neighbours and face outward.
edges_used_once: usizeMesh edges only one triangle uses: the rims of holes.
edges_used_more: usizeMesh edges three or more triangles use: non-manifold.
orientation_conflicts: usizeShared edges whose windings cannot be made to agree, in a piece that is not orientable.
shells: usizeConnected pieces, each one shell.
Trait Implementations§
Source§impl Clone for MeshSolidReport
impl Clone for MeshSolidReport
Source§fn clone(&self) -> MeshSolidReport
fn clone(&self) -> MeshSolidReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MeshSolidReport
impl Debug for MeshSolidReport
Source§impl Default for MeshSolidReport
impl Default for MeshSolidReport
Source§fn default() -> MeshSolidReport
fn default() -> MeshSolidReport
impl Eq for MeshSolidReport
Source§impl PartialEq for MeshSolidReport
impl PartialEq for MeshSolidReport
Source§fn eq(&self, other: &MeshSolidReport) -> bool
fn eq(&self, other: &MeshSolidReport) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MeshSolidReport
Auto Trait Implementations§
impl Freeze for MeshSolidReport
impl RefUnwindSafe for MeshSolidReport
impl Send for MeshSolidReport
impl Sync for MeshSolidReport
impl Unpin for MeshSolidReport
impl UnsafeUnpin for MeshSolidReport
impl UnwindSafe for MeshSolidReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.