MCPcopy Create free account
hub / github.com/PRBonn/MapClosures / ComparePixels

Class ComparePixels

cpp/map_closures/DensityMap.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31namespace {
32struct ComparePixels {
33 bool operator()(const Eigen::Array2i &lhs, const Eigen::Array2i &rhs) const {
34 return lhs.x() < rhs.x() || (lhs.x() == rhs.x() && lhs.y() < rhs.y());
35 }
36};
37constexpr int max_int = std::numeric_limits<int>::max();
38constexpr int min_int = std::numeric_limits<int>::min();
39} // namespace

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected