pub enum ProfileInput {
Line([f64; 3], [f64; 3]),
Circle(Frame, f64),
Ellipse(Frame, f64, f64),
Nurbs(NurbsCurve),
}Expand description
A profile curve for the swept surfaces — plain geometry, no vertices
(unlike CurveInput::Line, which derives from edge vertices).
Variants§
Line([f64; 3], [f64; 3])
Infinite straight line: a point and a direction.
Circle(Frame, f64)
Ellipse(Frame, f64, f64)
Nurbs(NurbsCurve)
Trait Implementations§
Source§impl Clone for ProfileInput
impl Clone for ProfileInput
Source§fn clone(&self) -> ProfileInput
fn clone(&self) -> ProfileInput
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 ProfileInput
impl RefUnwindSafe for ProfileInput
impl Send for ProfileInput
impl Sync for ProfileInput
impl Unpin for ProfileInput
impl UnsafeUnpin for ProfileInput
impl UnwindSafe for ProfileInput
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