22 #include "gtest/gtest.h" 30 point_cloud.emplace_back(0.5f, 0.5f, 1.f);
31 point_cloud.emplace_back(3.5f, 0.5f, 42.f);
34 EXPECT_NEAR(-0.5f, transformed_point_cloud[0].x(), 1e-6);
35 EXPECT_NEAR(0.5f, transformed_point_cloud[0].y(), 1e-6);
36 EXPECT_NEAR(-0.5f, transformed_point_cloud[1].x(), 1e-6);
37 EXPECT_NEAR(3.5f, transformed_point_cloud[1].y(), 1e-6);
PointCloud TransformPointCloud(const PointCloud &point_cloud, const transform::Rigid3f &transform)
std::vector< Eigen::Vector3f > PointCloud