pub struct SurfaceBasis<'a> {
pub degree: (i64, i64),
pub u: SurfaceKnots<'a>,
pub v: SurfaceKnots<'a>,
pub form: &'a str,
pub knot_spec: &'a str,
}Expand description
Everything a B-spline surface states apart from its control grid.
Grouped because the u and v data must be kept straight: four bare arguments of two types invite a transposition that still compiles.
Fields§
§degree: (i64, i64)UDegree and VDegree, in that order.
u: SurfaceKnots<'a>The u knot vector, checked against the grid’s row count.
v: SurfaceKnots<'a>The v knot vector, checked against the grid’s column count.
form: &'a strSurfaceForm, informational.
knot_spec: &'a strKnotSpec, e.g. UNSPECIFIED.
Trait Implementations§
Source§impl<'a> Clone for SurfaceBasis<'a>
impl<'a> Clone for SurfaceBasis<'a>
impl<'a> Copy for SurfaceBasis<'a>
Auto Trait Implementations§
impl<'a> Freeze for SurfaceBasis<'a>
impl<'a> RefUnwindSafe for SurfaceBasis<'a>
impl<'a> Send for SurfaceBasis<'a>
impl<'a> Sync for SurfaceBasis<'a>
impl<'a> Unpin for SurfaceBasis<'a>
impl<'a> UnsafeUnpin for SurfaceBasis<'a>
impl<'a> UnwindSafe for SurfaceBasis<'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