Lines Matching refs:Q2
108 CvPoint2D32f Q0, Q1, Q2; in _cvBendingWork() local
247 Q2.x = F1->x * (-B1->x) + F1->y * (-B1->y); in _cvBendingWork()
248 Q2.y = F1->x * (-B1->y) - F1->y * (-B1->x); in _cvBendingWork()
251 d1 = 0.5f*(Q0.x * Q2.y - Q0.y * Q2.x); in _cvBendingWork()
252 d2 = Q1.x * Q2.y - Q1.y * Q2.x; in _cvBendingWork()
255 des = Q1.y*Q1.y - Q0.y*Q2.y; in _cvBendingWork()
261 t_zero = ( Q0.y - Q1.y + sqrt(des) )/( Q0.y - 2*Q1.y + Q2.y ); in _cvBendingWork()
263 if( (0 < t_zero) && (t_zero < 1) && ( Q(Q0, Q1, Q2, t_zero).x > 0 ) ) in _cvBendingWork()
268 t_zero = ( Q0.y - Q1.y - sqrt(des) )/( Q0.y - 2*Q1.y + Q2.y ); in _cvBendingWork()
270 if( (0 < t_zero) && (t_zero < 1) && ( Q(Q0, Q1, Q2, t_zero).x > 0 ) ) in _cvBendingWork()
288 Q1_nm = Q(Q0, Q1, Q2, t_zero); in _cvBendingWork()
296 Q2_nm = Q(Q0, Q1, Q2, t_zero); in _cvBendingWork()
303 center.x = (Q0.x + Q1.x + Q2.x)/3; in _cvBendingWork()
304 center.y = (Q0.y + Q1.y + Q2.y)/3; in _cvBendingWork()
310 check01 = (center.x - Q1.x)*(Q2.y - Q1.y) + (center.y - Q1.y)*(Q2.x - Q1.x); in _cvBendingWork()
311 check02 = (-Q1.x)*(Q2.y - Q1.y) + (-Q1.y)*(Q2.x - Q1.x); in _cvBendingWork()
314 check01 = (center.x - Q2.x)*(Q0.y - Q2.y) + (center.y - Q2.y)*(Q0.x - Q2.x); in _cvBendingWork()
315 check02 = (-Q2.x)*(Q0.y - Q2.y) + (-Q2.y)*(Q0.x - Q2.x); in _cvBendingWork()
325 d_angle = angle(Q0,Q2); in _cvBendingWork()
366 d_nm_angle = d_nm_angle + angle(Q2,Q2_nm); in _cvBendingWork()