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

/ast/src/lib/libtk/generic/
H A DtkTrig.c91 double m1, b1, m2, b2;
95 * edge to a line equation of the form y = m1*x + b1. Then
101 b1 = end1Ptr[1] - m1*end1Ptr[0];
104 x = (b2 - b1)/(m1 - m2);
105 y = m1*x + b1;
520 double m1, b1, m2, b2;
525 * edge to a line equation of the form y = m1*x + b1. Then
531 b1 = pPtr[1] - m1*pPtr[0];
534 x = (b2 - b1)/(m1 - m2);
535 y = m1*x + b1;
90 double m1, b1, m2, b2; local
516 double m1, b1, m2, b2; local
[all...]
H A Dtk3d.c761 XPoint poly[4], b1, b2, newB1, newB2;
808 * b1 * poly[0] (pointPtr[i-1])
823 * this, compute a new b1 and b2 value for the next
827 * (d) Advance poly[0], poly[1], b1, and b2 for the
860 parallel = Intersect(&newB1, &newB2, &b1, &b2, &poly[2]);
868 * *----b1-----------b2------a
886 * b1-b2 and newB1-newB2 with p1Ptr-perp.
894 (void) Intersect(p1Ptr, &perp, &b1, &b2, &poly[2]);
918 b1.x = newB1.x;
919 b1
749 XPoint poly[4], b1, b2, newB1, newB2; local
[all...]

Completed in 13 milliseconds