void PairWiseDrawer::drawMatch(const Match& m, const Color3ub& c, bool drawLine) const { drawFeature(0, m.x(), c); drawFeature(1, m.y(), c); if(drawLine) { Vector2f a,b; a = scale(0)*m.posX(); b = scale(1)*(m.posY()+offF(1)); DO::drawLine(a, b, c); } }
//! Key match equality. bool operator==(const Match& m) const { return (x() == m.x() && y() == m.y()); }