Commit 14adc7ff authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[C++] add API to retrieve translation and rotation curve from a SE3

parent e1a69f73
......@@ -215,6 +215,10 @@ struct SE3Curve : public curve_abc<Time, Numeric, Safe, Eigen::Transform<Numeric
/// \brief Get the degree of the curve.
/// \return \f$degree\f$, the degree of the curve.
virtual std::size_t degree() const { return translation_curve_->degree(); }
/// \brief const accessor to the translation curve
const curve_ptr_t translation_curve(){return translation_curve_;}
/// \brief const accessor to the rotation curve
const curve_rotation_ptr_t rotation_curve(){return rotation_curve_;}
/*Helpers*/
/*Attributes*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment