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

/ast/src/lib/libtk/generic/
H A DtkTrig.c1330 double theta2; /* Angle of segment p2-p3. */
1334 * theta2 and points to m1. */
1349 theta2 = (p3[0] > p2[0]) ? 0 : PI;
1351 theta2 = (p3[1] > p2[1]) ? PI/2.0 : -PI/2.0;
1353 theta2 = atan2(p3[1] - p2[1], p3[0] - p2[0]);
1355 theta = theta1 - theta2;
1374 theta3 = (theta1 + theta2)/2.0;
1317 double theta2; /* Angle of segment p2-p3. */ local

Completed in 1902 milliseconds