extern crate mazth;
use interface::i_interpolate::*;
use self::mazth::mat::*;
use self::mazth::mat::Mat4x1;
use self::mazth::i_comparable::IComparableError;
use interface::i_interpolate::IInterpolate;
use interface::i_step::Step;
use interface::i_waypoint::IWaypoint;
use implement::step::step_interpolate;
use implement::math::spline_bezier::SplineBezier;
use implement::math::piecewise::Piecewise;
pub struct CamGuide {
pub _pos_trajectory: Option< Piecewise< SplineBezier, Mat4x1<f64> > >,
}
impl IWaypoint for CamGuide {
fn set_next( & mut self, pos: Mat4x1<f64> ){
unimplemented!();
}
fn get_trajectory( & mut self ) -> & mut Option< Piecewise< SplineBezier, Mat4x1<f64> > > {
& mut self._pos_trajectory
}
fn flush( & mut self ){
self._pos_trajectory = None;
}
}