MCPcopy Create free account
hub / github.com/colmap/colmap / LowerVector3d

Function LowerVector3d

src/colmap/estimators/generalized_pose.cc:90–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90bool 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
106std::vector<size_t> ComputeUniquePointIds(
107 const std::vector<Eigen::Vector3d>& points3D) {

Callers 1

ComputeUniquePointIdsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected