Template Struct TMatchingPairTempl

Struct Documentation

template<typename T>
struct TMatchingPairTempl

A structure for holding correspondences between two sets of points or points-like entities in 2D or 3D. Templatized version for double or float.

Note

Before MRPT 2.4.0, “local” and “global” points were named “other”, and “this”, respectively, and were not packed into a TPoint structure.

Public Functions

TMatchingPairTempl() = default
inline TMatchingPairTempl(uint32_t _globalIdx, uint32_t _localIdx, T _global_x, T _global_y, T _global_z, T _local_x, T _local_y, T _local_z)
inline TMatchingPairTempl(uint32_t _globalIdx, uint32_t _localIdx, const mrpt::math::TPoint3D_<T> &_global, const mrpt::math::TPoint3D_<T> &_local)
void print(std::ostream &o) const

Print contents with format: [globalIdx -> localIdx] (global.{x,y,z}) -> (local.{x,y,z})

Public Members

uint32_t globalIdx = {0}
uint32_t localIdx = {0}
mrpt::math::TPoint3D_<T> global = {0, 0, 0}
mrpt::math::TPoint3D_<T> local = {0, 0, 0}
T errorSquareAfterTransformation = {0}

Public Static Functions

static inline constexpr auto getClassName()