1/// spline.rs 2/// Trait for common abstractions over all spline types (Bezier, B-Spline) 3use super::Point; 4 5pub trait Spline<P: Point> { 6 fn eval(&self, t: P::Scalar) -> P; 7}