Skip to content

Commit

Permalink
Document Pose::operator*() (gazebosim#170)
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Loretz <[email protected]>
  • Loading branch information
sloretz authored and scpeters committed Nov 4, 2020
1 parent a72f761 commit e5b5143
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions include/ignition/math/Pose3.hh
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,11 @@ namespace ignition
return this->p != _pose.p || this->q != _pose.q;
}

/// \brief Multiplication operator
/// \param[in] _pose the other pose
/// \return itself
/// \brief Multiplication operator.
/// Given X_OP (frame P relative to O) and X_PQ (frame Q relative to P)
/// then X_OQ = X_OP * X_PQ (frame Q relative to O).
/// \param[in] _pose The pose to multiply by.
/// \return The resulting pose.
public: Pose3<T> operator*(const Pose3<T> &_pose) const
{
return Pose3<T>(_pose.CoordPositionAdd(*this), this->q * _pose.q);
Expand Down

0 comments on commit e5b5143

Please sign in to comment.