use crate::curve::KnotStyle;
pub mod curve;
pub use curve::*;
pub trait Interpolation {
type Input;
type Output;
fn interpolate(input: &Self::Input, degree: usize) -> Self::Output;
}
pub trait PeriodicInterpolation {
type Input;
type Output;
fn interpolate_periodic(
input: &Self::Input,
degree: usize,
knot_style: KnotStyle,
) -> Self::Output;
}