pub struct NurbsCurve {
pub degree: usize,
pub points: Vec<P3>,
pub weights: Option<Vec<f64>>,
pub knots: Vec<f64>,
}Fields§
§degree: usize§points: Vec<P3>§weights: Option<Vec<f64>>§knots: Vec<f64>Implementations§
Source§impl NurbsCurve
impl NurbsCurve
pub fn to_nurbs(&self) -> GeopResult<NurbCurve3D>
Trait Implementations§
Source§impl Clone for NurbsCurve
impl Clone for NurbsCurve
Source§fn clone(&self) -> NurbsCurve
fn clone(&self) -> NurbsCurve
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 moreAuto Trait Implementations§
impl Freeze for NurbsCurve
impl RefUnwindSafe for NurbsCurve
impl Send for NurbsCurve
impl Sync for NurbsCurve
impl Unpin for NurbsCurve
impl UnsafeUnpin for NurbsCurve
impl UnwindSafe for NurbsCurve
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