#ifdef HAS_OPENCV3 #include //Any OPENCV3 code #else #include //Any Opencv2 code #endif double dist(cv::Point, cv::Point); double inner_angle(cv::Point, cv::Point, cv::Point); cv::Point map_point(double, cv::Point, cv::Point);