• Home
  • Raw
  • Download

Lines Matching full:roots

121     int intersectRay(double roots[3]) {  in intersectRay()
131 int count = SkDCubic::RootsValidT(A, B, C, D, roots); in intersectRay()
133 SkDPoint calcPt = c.ptAtT(roots[index]); in intersectRay()
141 count = c.searchRoots(extremeTs, extrema, 0, SkDCubic::kXAxis, roots); in intersectRay()
154 int roots = intersectRay(rootVals); in intersect() local
155 for (int index = 0; index < roots; ++index) { in intersect()
167 static int HorizontalIntersect(const SkDCubic& c, double axisIntercept, double roots[3]) { in HorizontalIntersect()
171 int count = SkDCubic::RootsValidT(A, B, C, D, roots); in HorizontalIntersect()
173 SkDPoint calcPt = c.ptAtT(roots[index]); in HorizontalIntersect()
177 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kYAxis, roots); in HorizontalIntersect()
189 double roots[3]; in horizontalIntersect() local
190 int count = HorizontalIntersect(fCubic, axisIntercept, roots); in horizontalIntersect()
192 double cubicT = roots[index]; in horizontalIntersect()
230 static int VerticalIntersect(const SkDCubic& c, double axisIntercept, double roots[3]) { in VerticalIntersect()
234 int count = SkDCubic::RootsValidT(A, B, C, D, roots); in VerticalIntersect()
236 SkDPoint calcPt = c.ptAtT(roots[index]); in VerticalIntersect()
240 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kXAxis, roots); in VerticalIntersect()
252 double roots[3]; in verticalIntersect() local
253 int count = VerticalIntersect(fCubic, axisIntercept, roots); in verticalIntersect()
255 double cubicT = roots[index]; in verticalIntersect()
449 int SkDCubic::horizontalIntersect(double yIntercept, double roots[3]) const { in horizontalIntersect()
450 return LineCubicIntersections::HorizontalIntersect(*this, yIntercept, roots); in horizontalIntersect()
453 int SkDCubic::verticalIntersect(double xIntercept, double roots[3]) const { in verticalIntersect()
454 return LineCubicIntersections::VerticalIntersect(*this, xIntercept, roots); in verticalIntersect()