We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d31704 commit f24216cCopy full SHA for f24216c
models/include/cloe/utility/geometry.hpp
@@ -51,6 +51,14 @@ inline Eigen::Isometry3d pose_from_rotation_translation(const Eigen::Quaterniond
51
return pose;
52
}
53
54
+/**
55
+ * Change a point's frame of reference.
56
+ * Both the point and the child frame need to have the same parent frame.
57
+ */
58
+inline void transform_to_child_frame(const Eigen::Isometry3d& child_frame, Eigen::Vector3d* point) {
59
+ *point = child_frame.inverse() * (*point);
60
+}
61
+
62
} // namespace utility
63
} // namespace cloe
64
0 commit comments