Lines Matching refs:Point2f
57 static void orderContours(const std::vector<std::vector<Point> >& contours, Point2f point, std::vector<std::pair<int, float> >& order)
67 double dist = norm(Point2f((float)contours[i][j].x, (float)contours[i][j].y) - point);
77 inline void fitCurve2Order(const std::vector<Point2f>& /*points*/, std::vector<float>& /*curve*/)
82 inline void findCurvesCross(const std::vector<float>& /*curve1*/, const std::vector<float>& /*curve2*/, Point2f& /*cross_point*/)
86 static void findLinesCrossPoint(Point2f origin1, Point2f dir1, Point2f origin2, Point2f dir2, Point2f& cross_point)
89 Point2f offset = origin2 - origin1;
95 static void findCorner(const std::vector<Point2f>& contour, Point2f point, Point2f& corner)
169 Point2f* corners = cornersM.ptr<Point2f>();
215 std::vector<Point2f> quads_approx[4];
216 Point2f quad_corners[4];
219 std::vector<Point2f> temp;
224 quad_corners[k] += Point2f(0.5f, 0.5f);
228 Point2f origin1 = quad_corners[0];
229 Point2f dir1 = quad_corners[1] - quad_corners[0];
230 Point2f origin2 = quad_corners[2];
231 Point2f dir2 = quad_corners[3] - quad_corners[2];