pub struct SimplifySettings {
pub target_index_count: usize,
pub target_error: f32,
pub options: SimplifyOptions,
}Expand description
Parameters for edge-collapse simplification.
Fields§
§target_index_count: usizeRequested index count, at most the input count; need not be divisible by three.
target_error: f32Nonnegative finite linear error limit; relative to the mesh extent by default.
options: SimplifyOptionsTopology, regularization and error-unit options.
Trait Implementations§
Source§impl Clone for SimplifySettings
impl Clone for SimplifySettings
impl Copy for SimplifySettings
Auto Trait Implementations§
impl Freeze for SimplifySettings
impl RefUnwindSafe for SimplifySettings
impl Send for SimplifySettings
impl Sync for SimplifySettings
impl Unpin for SimplifySettings
impl UnsafeUnpin for SimplifySettings
impl UnwindSafe for SimplifySettings
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more