00001 #ifndef BWI_TOOLS_POINT_H 00002 #define BWI_TOOLS_POINT_H 00003 00004 #include <opencv/cv.h> 00005 00006 namespace bwi { 00007 00008 typedef cv::Point2f Point2f; 00009 00010 inline float getMagnitude(Point2f p) { 00011 return cv::norm(p); 00012 } 00013 00014 } /* bwi */ 00015 00016 #endif /* end of include guard: BWI_TOOLS_POINT_H */