Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
ndcurves
Commits
80dc71cb
Commit
80dc71cb
authored
Jan 23, 2020
by
Pierre Fernbach
Browse files
SE3 rotation_curve and translation_curve methods are now const
parent
910bb2d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/curves/se3_curve.h
View file @
80dc71cb
...
...
@@ -216,9 +216,9 @@ struct SE3Curve : public curve_abc<Time, Numeric, Safe, Eigen::Transform<Numeric
/// \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_
;}
const
curve_ptr_t
translation_curve
()
const
{
return
translation_curve_
;}
/// \brief const accessor to the rotation curve
const
curve_rotation_ptr_t
rotation_curve
(){
return
rotation_curve_
;}
const
curve_rotation_ptr_t
rotation_curve
()
const
{
return
rotation_curve_
;}
/*Helpers*/
/*Attributes*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment