pub enum SmoothMethod {
Taubin,
Laplacian,
}Expand description
How smooth relaxes: volume-preserving Taubin λ/μ cycles, or plain
Laplacian passes that melt toward the centroid (sculpt smoothing).
Variants§
Taubin
Taubin λ/μ cycles (the default): shrink then inflate back, keeping volume while removing noise. Converges slowly on low frequencies.
Laplacian
Plain Laplacian passes: each pass moves the full weight toward the centroid. Melts bumps fast, with some shrinkage.
Trait Implementations§
Source§impl Clone for SmoothMethod
impl Clone for SmoothMethod
Source§fn clone(&self) -> SmoothMethod
fn clone(&self) -> SmoothMethod
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 moreimpl Copy for SmoothMethod
Source§impl Debug for SmoothMethod
impl Debug for SmoothMethod
Source§impl Default for SmoothMethod
impl Default for SmoothMethod
Source§fn default() -> SmoothMethod
fn default() -> SmoothMethod
Returns the “default value” for a type. Read more
impl Eq for SmoothMethod
Source§impl PartialEq for SmoothMethod
impl PartialEq for SmoothMethod
impl StructuralPartialEq for SmoothMethod
Auto Trait Implementations§
impl Freeze for SmoothMethod
impl RefUnwindSafe for SmoothMethod
impl Send for SmoothMethod
impl Sync for SmoothMethod
impl Unpin for SmoothMethod
impl UnsafeUnpin for SmoothMethod
impl UnwindSafe for SmoothMethod
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