| 88 | } |
| 89 | |
| 90 | bool LowerVector3d(const Eigen::Vector3d& v1, const Eigen::Vector3d& v2) { |
| 91 | if (v1.x() < v2.x()) { |
| 92 | return true; |
| 93 | } else if (v1.x() == v2.x()) { |
| 94 | if (v1.y() < v2.y()) { |
| 95 | return true; |
| 96 | } else if (v1.y() == v2.y()) { |
| 97 | return v1.z() < v2.z(); |
| 98 | } else { |
| 99 | return false; |
| 100 | } |
| 101 | } else { |
| 102 | return false; |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | std::vector<size_t> ComputeUniquePointIds( |
| 107 | const std::vector<Eigen::Vector3d>& points3D) { |
no outgoing calls
no test coverage detected