Main MRPT website > C++ reference for MRPT 1.4.0
Namespaces
slerp.h File Reference
#include <mrpt/math/CQuaternion.h>
#include <mrpt/poses/poses_frwds.h>

Go to the source code of this file.

Namespaces

namespace  mrpt
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
namespace  mrpt::math
 This base provides a set of functions for maths stuff.
 

Functions

SLERP (Spherical Linear Interpolation) functions
template<typename T >
void mrpt::math::slerp (const CQuaternion< T > &q0, const CQuaternion< T > &q1, const double t, CQuaternion< T > &q)
 SLERP interpolation between two quaternions.
 
void BASE_IMPEXP mrpt::math::slerp (const mrpt::poses::CPose3D &q0, const mrpt::poses::CPose3D &q1, const double t, mrpt::poses::CPose3D &p)
 SLERP interpolation between two 6D poses - like mrpt::math::slerp for quaternions, but interpolates the [X,Y,Z] coordinates as well.
 
void BASE_IMPEXP mrpt::math::slerp (const mrpt::poses::CPose3DQuat &q0, const mrpt::poses::CPose3DQuat &q1, const double t, mrpt::poses::CPose3DQuat &p)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 



Page generated by Doxygen 1.9.8 for MRPT 1.4.0 SVN: at Fri Dec 15 05:36:48 UTC 2023