Struct SurfaceKnotRemoval
pub struct SurfaceKnotRemoval {
pub surface: BSplineSurface,
pub removed: u32,
pub deviation_upper_bound: f64,
}Expand description
The outcome of removing one knot value from a surface up to some number of times.
Fields§
§surface: BSplineSurfaceThe surface with removed copies of the knot taken out; the input
surface unchanged when removed is zero.
removed: u32How many copies were removed.
deviation_upper_bound: f64Upper bound on the distance between the input and surface at every
parameter, in model units (computed in f64): the sum of the bounds
of the single removals.
Trait Implementations§
§impl Clone for SurfaceKnotRemoval
impl Clone for SurfaceKnotRemoval
§fn clone(&self) -> SurfaceKnotRemoval
fn clone(&self) -> SurfaceKnotRemoval
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for SurfaceKnotRemoval
impl Debug for SurfaceKnotRemoval
§impl PartialEq for SurfaceKnotRemoval
impl PartialEq for SurfaceKnotRemoval
impl StructuralPartialEq for SurfaceKnotRemoval
Auto Trait Implementations§
impl Freeze for SurfaceKnotRemoval
impl RefUnwindSafe for SurfaceKnotRemoval
impl Send for SurfaceKnotRemoval
impl Sync for SurfaceKnotRemoval
impl Unpin for SurfaceKnotRemoval
impl UnwindSafe for SurfaceKnotRemoval
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