12 #include <type_traits>      23 template <
class CONTAINER, 
class POINT_OR_POSE>
    26     const size_t DIMS = POINT_OR_POSE::static_size;
    28     for (
size_t i = 0; i < DIMS; i++)
    33 #define MRPT_MATRIX_CONSTRUCTORS_FROM_POSES(_CLASS_)                          \    35         class TPOSE, typename = std::enable_if_t<                             \    36                          std::is_base_of_v<mrpt::math::TPoseOrPoint, TPOSE>>> \    37     explicit inline _CLASS_(const TPOSE& p)                                   \    39         mrpt::math::containerFromPoseOrPoint(*this, p);                       \    41     template <class CPOSE, int = CPOSE::is_3D_val>                            \    42     explicit inline _CLASS_(const CPOSE& p)                                   \    44         mrpt::math::containerFromPoseOrPoint(*this, p);                       \ 
CONTAINER & containerFromPoseOrPoint(CONTAINER &C, const POINT_OR_POSE &p)
Conversion of poses to MRPT containers (vector/matrix) 
 
This base provides a set of functions for maths stuff.