Engauge Digitizer  2
PointMatchTriplet.h
1 #ifndef POINT_MATCH_TRIPLET_H
2 #define POINT_MATCH_TRIPLET_H
3 
4 #include <QPoint>
5 
8 {
9 public:
11  PointMatchTriplet(int x,
12  int y,
13  double correlation);
14 
16  bool operator<(const PointMatchTriplet &other) const;
17 
19  double correlation() const;
20 
22  QPoint point() const;
23 
25  int x() const;
26 
28  int y() const;
29 
30 private:
32 
33  int m_x;
34  int m_y;
35  double m_correlation;
36 };
37 
38 #endif // POINT_MATCH_TRIPLET_H
int x() const
Get method for x coordinate.
double correlation() const
Get method for correlation.
QPoint point() const
Return (x,y) coordinates as a point.
Representation of one matched point as produced from the point match algorithm.
int y() const
Get method for y coordinate.
bool operator<(const PointMatchTriplet &other) const
Comparison operator for sorting lists of this class using qSort.