Lines Matching defs:B0
70 * Finds the intersection between the lines defined by A0 & A1, and B0 & B1.
76 linear_intersect(Point const &A0, Point const &A1, Point const &B0, Point const &B1,
78 bool both_lines_non_zero = (!are_near(A0, A1)) && (!are_near(B0, B1));
82 Bd = B1 - B0,
83 d = B0 - A0;
308 B0 = B.pointAt(Bl), B1 = B.pointAt(Bh);
310 Rect Ar = Rect(A0, A1), Br = Rect(B0, B1);
311 if(!Ar.intersects(Br) || A0 == A1 || B0 == B1) return;
359 B0 = B.pointAt(Bl), B1 = B.pointAt(Bh);
361 Rect Ar = Rect(A0, A1), Br = Rect(B0, B1);
362 if(!Ar.intersects(Br) || A0 == A1 || B0 == B1) return;
366 if(linear_intersect(A0, A1, B0, B1,
570 B0 = B.pointAt(Bl), B1 = B.pointAt(Bh);
572 if(!Rect(A0, A1).intersects(Rect(B0, B1)) || A0 == A1 || B0 == B1) return;
578 if(linear_intersect(A0, A1, B0, B1, tA, tB, c)) {