pub struct DeformSpec {
pub picks: Vec<DeformPick>,
pub hold: [EdgeHold; 4],
pub min_degree: usize,
pub split_spans: [usize; 2],
pub split_window: Option<[f64; 4]>,
}Fields§
§picks: Vec<DeformPick>§hold: [EdgeHold; 4]Held sides: [u_min, u_max, v_min, v_max].
min_degree: usizeEach direction is elevated (exactly) to at least this degree first; at least 2 (a bilinear net has no bending to minimise). Default 3.
split_spans: [usize; 2]Each non-empty knot span is split into this many equal spans in u and
v first (1 = no split). Default [1, 1].
split_window: Option<[f64; 4]>When given, [u0, u1, v0, v1]: only knot spans that overlap this
parameter box are split (a face’s box on a larger carrier), so the
pole bound is spent where the deformation is.
Trait Implementations§
Source§impl Clone for DeformSpec
impl Clone for DeformSpec
Source§fn clone(&self) -> DeformSpec
fn clone(&self) -> DeformSpec
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 moreSource§impl Debug for DeformSpec
impl Debug for DeformSpec
Source§impl Default for DeformSpec
impl Default for DeformSpec
Source§fn default() -> DeformSpec
fn default() -> DeformSpec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for DeformSpec
impl Freeze for DeformSpec
impl Move for DeformSpec
impl RefUnwindSafe for DeformSpec
impl Send for DeformSpecwhere
RawVecInner: Send,
impl Sync for DeformSpecwhere
RawVecInner: Sync,
impl Unpin for DeformSpec
impl UnsafeUnpin for DeformSpec
impl UnwindSafe for DeformSpecwhere
RawVecInner: UnwindSafe,
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