Lines Matching defs:y2
630 const double x2, const double y2,
656 double y12 = (y1 + y2) / 2;
658 double y23 = (y2 + y3) / 2;
674 double d2 = fabs(((x2 - x4) * dy - (y2 - y4) * dx));
687 d2 = calc_sq_distance(x1, y1, x2, y2);
694 da2 = y2 - y1;
705 if(d2 <= 0) d2 = calc_sq_distance(x2, y2, x1, y1);
706 else if(d2 >= 1) d2 = calc_sq_distance(x2, y2, x4, y4);
707 else d2 = calc_sq_distance(x2, y2, x1 + d2*dx, y1 + d2*dy);
717 m_points.push_back(Geom::Point(x2, y2));
744 da1 = fabs(atan2(y4 - y3, x4 - x3) - atan2(y3 - y2, x3 - x2));
749 m_points.push_back(Geom::Point(x2, y2));
778 da1 = fabs(atan2(y3 - y2, x3 - x2) - atan2(y2 - y1, x2 - x1));
783 m_points.push_back(Geom::Point(x2, y2));
792 m_points.push_back(Geom::Point(x2, y2));
815 k = atan2(y3 - y2, x3 - x2);
816 da1 = fabs(k - atan2(y2 - y1, x2 - x1));
833 m_points.push_back(Geom::Point(x2, y2));