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§impl Debug for DeformSpec
impl Debug for DeformSpec
Auto Trait Implementations§
impl Forget for DeformSpec
impl Freeze for DeformSpec
impl Move for DeformSpec
impl RefUnwindSafe for DeformSpec
impl Send for DeformSpec
impl Sync for DeformSpec
impl Unpin for DeformSpec
impl UnsafeUnpin for DeformSpec
impl UnwindSafe for DeformSpec
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