point.h
Go to the documentation of this file.
00001 
00038 #ifndef POINT_71CJ9X0J
00039 #define POINT_71CJ9X0J
00040 
00041 #include <opencv/cv.h>
00042 #include <stdint.h>
00043 
00044 namespace bwi_mapper {
00045 
00051   class Point2d : public cv::Point {
00052     public:
00053       Point2d() : cv::Point() {}
00054       Point2d(int x, int y) : cv::Point(x, y) {}
00055       Point2d(const Point2d& pt) : cv::Point(pt.x, pt.y), 
00056           distance_from_ref(pt.distance_from_ref) {}
00057       Point2d(const cv::Point& pt) : cv::Point(pt) {}
00058       /* Variables */
00059       float distance_from_ref;
00060       
00061   }; /* Point2d */
00062 
00068   struct Point2dDistanceComp {
00069 
00074     bool operator() (Point2d i, Point2d j);
00075 
00076   }; /* Point2dDistanceComp */
00077 
00082   typedef cv::Point2f Point2f;
00083   
00084 } /* bwi_mapper */
00085 
00086 #endif /* end of include guard: POINT_71CJ9X0J */


bwi_mapper
Author(s): Piyush Khandelwal
autogenerated on Thu Jun 6 2019 17:57:21