Lines Matching refs:Q0
108 CvPoint2D32f Q0, Q1, Q2; in _cvBendingWork() local
241 Q0.x = F0->x * (-B0->x) + F0->y * (-B0->y); in _cvBendingWork()
242 Q0.y = F0->x * (-B0->y) - F0->y * (-B0->x); in _cvBendingWork()
250 d0 = Q0.x * Q1.y - Q0.y * Q1.x; in _cvBendingWork()
251 d1 = 0.5f*(Q0.x * Q2.y - Q0.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()
306 check01 = (center.x - Q0.x)*(Q1.y - Q0.y) + (center.y - Q0.y)*(Q1.x - Q0.x); in _cvBendingWork()
307 check02 = (-Q0.x)*(Q1.y - Q0.y) + (-Q0.y)*(Q1.x - Q0.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()
340 d_nm_angle = angle(Q0,Q1_nm); in _cvBendingWork()
349 d_nm_angle = angle(Q0,Q2_nm); in _cvBendingWork()
358 d_nm_angle = angle(Q0,Q1_nm); in _cvBendingWork()
362 d_nm_angle = d_nm_angle + angle(Q0, Q2_nm); in _cvBendingWork()