Home | History | Annotate | Download | only in src

Lines Matching refs:y2

81                      const double x2, const double y2)
83 return (x2 - x1)*(x2 - x1) + (y2 - y1)*(y2 - y1);
87 const double x2, const double y2)
89 return sqrt(distSq(x1, y1, x2, y2));
195 * Where Vec4i/Vec4f is (x1, y1, x2, y2), point 1 is the start, point 2 - end.
275 double x1, y1, x2, y2; // first and second point of the line segment
290 * Where Vec4f is (x1, y1, x2, y2), point 1 is the start, point 2 - end.
510 rec.x2 += 0.5; rec.y2 += 0.5;
516 rec.x2 /= SCALE; rec.y2 /= SCALE;
521 lines.push_back(Vec4f(float(rec.x1), float(rec.y1), float(rec.x2), float(rec.y2)));
732 rec.y2 = y + l_max * dy;
787 double density = double(reg_size) / (dist(rec.x1, rec.y1, rec.x2, rec.y2) * rec.width);
820 density = double(reg_size) / (dist(rec.x1, rec.y1, rec.x2, rec.y2) * rec.width);
839 double radSq2 = distSq(xc, yc, rec.x2, rec.y2);
865 (dist(rec.x1, rec.y1, rec.x2, rec.y2) * rec.width);
922 r.y2 += r.dx * delta_2;
943 r.y2 -= r.dx * delta_2;
987 ordered_x[1].p.x = int(rec.x2 - dyhw); ordered_x[1].p.y = int(rec.y2 + dxhw); ordered_x[1].taken = false;
988 ordered_x[2].p.x = int(rec.x2 + dyhw); ordered_x[2].p.y = int(rec.y2 - dxhw); ordered_x[2].taken = false;