pub struct MeshSimplifier { /* private fields */ }Expand description
Mesh simplifier with multiple algorithms
Implementations§
Source§impl MeshSimplifier
impl MeshSimplifier
pub fn new(config: SimplificationConfig) -> Self
pub fn with_defaults() -> Self
Source§impl MeshSimplifier
Utility functions for mesh preprocessing
impl MeshSimplifier
Utility functions for mesh preprocessing
Sourcepub fn analyze_mesh(mesh: &TriMesh) -> MeshComplexityAnalysis
pub fn analyze_mesh(mesh: &TriMesh) -> MeshComplexityAnalysis
Analyzes mesh complexity and recommends simplification parameters
Auto Trait Implementations§
impl Freeze for MeshSimplifier
impl RefUnwindSafe for MeshSimplifier
impl Send for MeshSimplifier
impl Sync for MeshSimplifier
impl Unpin for MeshSimplifier
impl UnsafeUnpin for MeshSimplifier
impl UnwindSafe for MeshSimplifier
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