32 inline Eigen::Vector2f
33 to2D(
const Eigen::Vector3f& v2)
35 return Eigen::Vector2f{v2.x(), v2.y()};
40 inline Eigen::Vector3f
41 to3D(
const Eigen::Vector2f& v2)
43 return Eigen::Vector3f{v2.x(), v2.y(), 0.F};
50 pose.linear().block<2, 2>(0, 0) = p2.linear();
51 pose.translation() =
to3D(p2.translation());
56 std::vector<Eigen::Vector3f>
to3D(
const std::vector<Eigen::Vector2f>&
v);
57 std::vector<Eigen::Vector2f>
to2D(
const std::vector<Eigen::Vector3f>&
v);