Lines Matching defs:A1
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));
81 Point Ad = A1 - A0,
307 Point A0 = A.pointAt(Al), A1 = A.pointAt(Ah),
310 Rect Ar = Rect(A0, A1), Br = Rect(B0, B1);
311 if(!Ar.intersects(Br) || A0 == A1 || B0 == B1) return;
358 Point A0 = A.pointAt(Al), A1 = A.pointAt(Ah),
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,
569 Point A0 = A.pointAt(Al), A1 = A.pointAt(Ah),
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)) {