Searched refs:th_arc (Results 1 – 1 of 1) sorted by relevance
543 double th0, th1, th_arc; in calculateArc() local620 th_arc = th1 - th0; in calculateArc()621 if (th_arc < 0 && sweepFlag) in calculateArc()622 th_arc += 2 * piDouble; in calculateArc()623 else if (th_arc > 0 && !sweepFlag) in calculateArc()624 th_arc -= 2 * piDouble; in calculateArc()626 n_segs = (int) (int) ceil(fabs(th_arc / (piDouble * 0.5 + 0.001))); in calculateArc()635 double _th0 = th0 + i * th_arc / n_segs; in calculateArc()636 double _th1 = th0 + (i + 1) * th_arc / n_segs; in calculateArc()