Lines Matching defs:Q0
108 CvPoint2D32f Q0, Q1, Q2;
241 Q0.x = F0->x * (-B0->x) + F0->y * (-B0->y);
242 Q0.y = F0->x * (-B0->y) - F0->y * (-B0->x);
250 d0 = Q0.x * Q1.y - Q0.y * Q1.x;
251 d1 = 0.5f*(Q0.x * Q2.y - Q0.y * Q2.x);
255 des = Q1.y*Q1.y - Q0.y*Q2.y;
261 t_zero = ( Q0.y - Q1.y + sqrt(des) )/( Q0.y - 2*Q1.y + Q2.y );
263 if( (0 < t_zero) && (t_zero < 1) && ( Q(Q0, Q1, Q2, t_zero).x > 0 ) )
268 t_zero = ( Q0.y - Q1.y - sqrt(des) )/( Q0.y - 2*Q1.y + Q2.y );
270 if( (0 < t_zero) && (t_zero < 1) && ( Q(Q0, Q1, Q2, t_zero).x > 0 ) )
288 Q1_nm = Q(Q0, Q1, Q2, t_zero);
296 Q2_nm = Q(Q0, Q1, Q2, t_zero);
303 center.x = (Q0.x + Q1.x + Q2.x)/3;
304 center.y = (Q0.y + Q1.y + Q2.y)/3;
306 check01 = (center.x - Q0.x)*(Q1.y - Q0.y) + (center.y - Q0.y)*(Q1.x - Q0.x);
307 check02 = (-Q0.x)*(Q1.y - Q0.y) + (-Q0.y)*(Q1.x - Q0.x);
314 check01 = (center.x - Q2.x)*(Q0.y - Q2.y) + (center.y - Q2.y)*(Q0.x - Q2.x);
315 check02 = (-Q2.x)*(Q0.y - Q2.y) + (-Q2.y)*(Q0.x - Q2.x);
325 d_angle = angle(Q0,Q2);
340 d_nm_angle = angle(Q0,Q1_nm);
349 d_nm_angle = angle(Q0,Q2_nm);
358 d_nm_angle = angle(Q0,Q1_nm);
362 d_nm_angle = d_nm_angle + angle(Q0, Q2_nm);