43 virtual void setPoints(
const std::vector<lanelet::BasicPoint2d>& points) = 0;
52 virtual lanelet::BasicPoint2d
operator()(
double t)
const = 0;
Interface to a spline interpolator that can be used to smoothly interpolate between points.
virtual ~SplineI()
Virtual destructor to ensure delete safety for pointers to implementing classes.
virtual lanelet::BasicPoint2d first_deriv(double x) const =0
Get the BasicPoint2d representing the first_deriv along the curve at t-th step.
virtual lanelet::BasicPoint2d operator()(double t) const =0
Get the BasicPoint2d coordinate along the curve at t-th step.
virtual lanelet::BasicPoint2d second_deriv(double x) const =0
Get the BasicPoint2d representing the first_deriv along the curve at t-th step.
virtual void setPoints(const std::vector< lanelet::BasicPoint2d > &points)=0
Set key points which the spline will interpolate between.