#pragma once #include namespace types { using f = double; namespace constants { static constexpr inline f eps = f(1e-8); } template using vec = cv::Vec; using vec2 = vec<2>; using vec3 = vec<3>; template using mat = cv::Matx; using mat33 = mat<3, 3>; using mat22 = mat<2, 2>; }