Trait truck_geometry::base::control_point::ControlPoint[][src]

pub trait ControlPoint<S>: Add<Self::Diff, Output = Self> + Sub<Self::Diff, Output = Self, Output = Self::Diff> + Sub<Self> + Mul<S, Output = Self> + Div<S, Output = Self> + AddAssign<Self::Diff> + SubAssign<Self::Diff> + MulAssign<S> + DivAssign<S> + Copy + Clone + Debug {
    type Diff: Add<Self::Diff> + Sub<Self::Diff> + Mul<S> + Div<S> + AddAssign<Self::Diff> + SubAssign<Self::Diff> + MulAssign<S> + DivAssign<S> + Zero + Copy + Clone + Debug;
    fn origin() -> Self;
fn to_vec(self) -> Self::Diff; }
Expand description

trait for abstract control points of polylines and B-splines

Associated Types

differential vector

Required methods

origin

into the vector

Implementations on Foreign Types

Implementors