pub struct SplineEdge {
pub degree: i32,
pub rational: bool,
pub periodic: bool,
pub knots: Vec<f64>,
pub control_points: Vec<Vector3>,
pub fit_points: Vec<Vector2>,
pub start_tangent: Vector2,
pub end_tangent: Vector2,
}Expand description
Spline edge in a boundary path
Fields§
§degree: i32Degree of the spline
rational: boolRational flag
periodic: boolPeriodic flag
knots: Vec<f64>Knot values
control_points: Vec<Vector3>Control points (X, Y, weight)
fit_points: Vec<Vector2>Fit points
start_tangent: Vector2Start tangent
end_tangent: Vector2End tangent
Trait Implementations§
Source§impl Clone for SplineEdge
impl Clone for SplineEdge
Source§fn clone(&self) -> SplineEdge
fn clone(&self) -> SplineEdge
Returns a duplicate of the value. Read more
1.0.0 · 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 SplineEdge
impl Debug for SplineEdge
Source§impl PartialEq for SplineEdge
impl PartialEq for SplineEdge
impl StructuralPartialEq for SplineEdge
Auto Trait Implementations§
impl Freeze for SplineEdge
impl RefUnwindSafe for SplineEdge
impl Send for SplineEdge
impl Sync for SplineEdge
impl Unpin for SplineEdge
impl UnsafeUnpin for SplineEdge
impl UnwindSafe for SplineEdge
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