Lines Matching defs:c1
82 Cubic c1, c2;
83 sub_divide(cubic1, t1s, t1e, c1);
86 // OPTIMIZE: if c1 == c2, call once (happens when detecting self-intersection)
87 cubic_to_quadratics(c1, calcPrecision(c1) * precisionScale, ts1);
408 bool intersect3(const Cubic& c1, const Cubic& c2, Intersections& i) {
409 bool result = intersect3(c1, 0, 1, c2, 0, 1, 1, i);
412 c1Bounds.setBounds(c1); // OPTIMIZE use setRawBounds ?
414 result |= intersectEnd(c1, false, c2, c2Bounds, i);
415 result |= intersectEnd(c1, true, c2, c2Bounds, i);
416 bool selfIntersect = c1 == c2;
419 result |= intersectEnd(c2, false, c1, c1Bounds, i);
420 result |= intersectEnd(c2, true, c1, c1Bounds, i);
430 if (closeStart(c1, 0, i, pt[0]) && closeStart(c2, 1, i, pt[1])
434 if (closeEnd(c1, 0, i, pt[0]) && closeEnd(c2, 1, i, pt[1])