gz/math/RotationSpline.hh
unsigned int PointCount() const
Gets the number of control points in the spline.
Definition: gz/math/AdditivelySeparableScalarField3.hh:27
void RecalcTangents()
Recalculates the tangents associated with this spline.
void AutoCalculate(bool _autoCalc)
Tells the spline whether it should automatically calculate tangents on demand as points are added.
const Quaterniond & Point(const unsigned int _index) const
Gets the detail of one of the control points of the spline.
RotationSpline()
Constructor. Sets the autoCalc to true.
Quaterniond Interpolate(double _t, const bool _useShortestPath=true)
Returns an interpolated point based on a parametric value over the whole series.
bool UpdatePoint(const unsigned int _index, const Quaterniond &_value)
Updates a single point in the spline.
void AddPoint(const Quaterniond &_p)
Adds a control point to the end of the spline.