Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refer to the relevant calculation codes in other functions. Multiplication here should be changed to division. like "projectPointToLine (const Eigen::Vector4f &pt, const Eigen::Vector4f &line_pt, const Eigen::Vector4f &line_dir, Eigen::Vector4f &pt_proj) const { float k = (pt.dot (line_dir) - line_pt.dot (line_dir)) / line_dir.dot (line_dir); // Calculate the projection of the point on the line pt_proj = line_pt + k * line_dir; } "
- Loading branch information