Lines Matching refs:theta2
380 double theta2 = atan2((double)(yc-y2), (double)(x2-xc));
381 if ( theta2 < 0 ) theta2 = theta2 + M_PI * 2;
382 if ( theta2 < theta1 ) theta2 = theta2 + M_PI *2 ;
385 if ( fabs(theta2 - theta1) > M_PI ) fArc = 1; else fArc = 0 ;
445 double theta2 = atan2(ye-yc, xe-xc);
448 if ( (theta2 - theta1) > 0 ) fArc = 1; else fArc = 0 ;
451 if ( fabs(theta2 - theta1) > M_PI) fSweep = 1; else fSweep = 0 ;