Searched defs:theta1 (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkTrig.c1329 double theta1; /* Angle of segment p2-p1. */
1333 double theta3; /* Angle that bisects theta1 and
1342 theta1 = (p2[0] < p1[0]) ? 0 : PI;
1344 theta1 = (p2[1] < p1[1]) ? PI/2.0 : -PI/2.0;
1346 theta1 = atan2(p1[1] - p2[1], p1[0] - p2[0]);
1355 theta = theta1 - theta2;
1374 theta3 = (theta1 + theta2)/2.0;
1375 if (sin(theta3 - (theta1 + PI)) < 0.0) {
1316 double theta1; /* Angle of segment p2-p1. */ local

Completed in 12 milliseconds