pub struct KnotVector<'a> {
pub multiplicities: &'a [i64],
pub knots: &'a [f64],
pub spec: &'a str,
}Expand description
The knot vector of a B-spline curve.
Fields§
§multiplicities: &'a [i64]How many times each distinct knot repeats.
knots: &'a [f64]The distinct knot values, strictly increasing.
spec: &'a strIfcKnotType, e.g. UNSPECIFIED or QUASI_UNIFORM_KNOTS.
Trait Implementations§
Source§impl<'a> Clone for KnotVector<'a>
impl<'a> Clone for KnotVector<'a>
Source§fn clone(&self) -> KnotVector<'a>
fn clone(&self) -> KnotVector<'a>
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<'a> Copy for KnotVector<'a>
Auto Trait Implementations§
impl<'a> Freeze for KnotVector<'a>
impl<'a> RefUnwindSafe for KnotVector<'a>
impl<'a> Send for KnotVector<'a>
impl<'a> Sync for KnotVector<'a>
impl<'a> Unpin for KnotVector<'a>
impl<'a> UnsafeUnpin for KnotVector<'a>
impl<'a> UnwindSafe for KnotVector<'a>
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