16 #include <mrpt/maps/CSimplePointsMap.h> 
   20     auto pts = mrpt::maps::CSimplePointsMap::Create();
 
   22     for (
int i = 0; i < 10; i++) pts->insertPoint(i * 0.01f, 5.0f, .0f);
 
   23     for (
int i = 0; i < 10; i++) pts->insertPoint(10.0f, i * 0.01f, 1.0f);
 
   30     auto pts = mrpt::maps::CSimplePointsMap::Create();
 
   32     pts->insertPointFast(0.
f, 0.
f, 0.
f);
 
   33     pts->insertPointFast(2.
f, 0.
f, 0.
f);
 
   38 int main([[maybe_unused]] 
int argc, [[maybe_unused]] 
char** argv)
 
   50             mrpt::containers::yaml                     p;
 
   51             p[
"threshold"]           = 1.05;
 
   52             p[
"thresholdAngularDeg"] = .001;
 
   64                 m.
match(pcGlobal, pcLocal, {0, 0, 0, 0, 0, 0}, {}, ms, pairs);
 
   65                 ASSERT_(pairs.
empty());
 
   74                 m.
match(pcGlobal, pcLocal, {0, 5, 0, 0, 0, 0}, {}, ms, pairs);
 
   75                 ASSERT_EQUAL_(pairs.
size(), 1);
 
   84                 m.
match(pcGlobal, pcLocal, {-2, 5, 0, 0, 0, 0}, {}, ms, pairs);
 
   85                 ASSERT_EQUAL_(pairs.
size(), 1);
 
   95                     pcGlobal, pcLocal, {8.5, -1.0, 1, mrpt::DEG2RAD(45.0
f), 0, 0}, {}, ms, pairs);
 
   96                 ASSERT_EQUAL_(pairs.
size(), 1);
 
  102     catch (std::exception& e)
 
  104         std::cerr << mrpt::exception_to_str(e) << 
"\n";