Home | History | Annotate | Download | only in pathops

Lines Matching refs:roots

97     int intersectRay(double roots[3]) {
106 int count = SkDCubic::RootsValidT(A, B, C, D, roots);
108 SkDPoint calcPt = c.ptAtT(roots[index]);
116 count = c.searchRoots(extremeTs, extrema, 0, SkDCubic::kXAxis, roots);
129 int roots = intersectRay(rootVals);
130 for (int index = 0; index < roots; ++index) {
163 static int HorizontalIntersect(const SkDCubic& c, double axisIntercept, double roots[3]) {
167 int count = SkDCubic::RootsValidT(A, B, C, D, roots);
169 SkDPoint calcPt = c.ptAtT(roots[index]);
173 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kYAxis, roots);
185 double roots[3];
186 int count = HorizontalIntersect(fCubic, axisIntercept, roots);
188 double cubicT = roots[index];
203 static int VerticalIntersect(const SkDCubic& c, double axisIntercept, double roots[3]) {
207 int count = SkDCubic::RootsValidT(A, B, C, D, roots);
209 SkDPoint calcPt = c.ptAtT(roots[index]);
213 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kXAxis, roots);
225 double roots[3];
226 int count = VerticalIntersect(fCubic, axisIntercept, roots);
228 double cubicT = roots[index];