Lines Matching defs:line
13 Find the interection of a line and cubic by solving for valid t values.
15 Analogous to line-quadratic intersection, solve line-cubic intersection by
19 and the line as:
20 y = i*x + j (if the line is more horizontal)
22 x = i*y + j (if the line is more vertical)
25 line:
39 if i goes to infinity, we can rewrite the line in terms of x. Mathematica:
120 // see parallel routine in line quadratic intersections
282 /* Note that this does not look for endpoints of the line that are near the cubic.
420 SkDLine line = {{{ left, y }, { right, y }}};
421 LineCubicIntersections c(cubic, line, this);
427 SkDLine line = {{{ x, top }, { x, bottom }}};
428 LineCubicIntersections c(cubic, line, this);
432 int SkIntersections::intersect(const SkDCubic& cubic, const SkDLine& line) {
433 LineCubicIntersections c(cubic, line, this);
438 int SkIntersections::intersectRay(const SkDCubic& cubic, const SkDLine& line) {
439 LineCubicIntersections c(cubic, line, this);