• Home
  • Raw
  • Download

Lines Matching refs:cross

34     SkScalar perpDot = v.cross(w);  in compute_side()
53 quadArea += v0.cross(v1); in SkGetPolygonWinding()
90 SkScalar denom = v0.cross(v1); in compute_intersection()
95 if (!SkScalarNearlyZero(w.cross(v0), kCrossTolerance) || in compute_intersection()
96 !SkScalarNearlyZero(w.cross(v1), kCrossTolerance)) { in compute_intersection()
151 sNumer = w.cross(v1); in compute_intersection()
155 tNumer = w.cross(v0); in compute_intersection()
193 SkScalar perpDot = v0.cross(v1); in SkIsConvexPolygon()
203 SkScalar quadArea = w0.cross(w1); in SkIsConvexPolygon()
264 SkScalar denom = v0.cross(v1); in computeCrossingDistance()
271 SkScalar localS = w.cross(v1) / denom; in computeCrossingDistance()
456 SkScalar rSin = v1.cross(v2); in SkComputeRadialSteps()
533 SkScalar cross = d.cross(v); in aboveIfLeft() local
534 if (cross > kCrossTolerance) { in aboveIfLeft()
536 } else if (cross < -kCrossTolerance) { in aboveIfLeft()
550 SkScalar cross = d.cross(v); in aboveIfLeft() local
551 if (cross > kCrossTolerance) { in aboveIfLeft()
553 } else if (cross < -kCrossTolerance) { in aboveIfLeft()
1423 SkScalar n = v0.cross(v1); in point_in_triangle()
1426 if (n*v0.cross(w0) < SK_ScalarNearlyZero) { in point_in_triangle()
1431 if (n*v1.cross(w1) < SK_ScalarNearlyZero) { in point_in_triangle()
1437 if (n*v2.cross(w2) < SK_ScalarNearlyZero) { in point_in_triangle()
1545 if (winding*v0.cross(v1) > SK_ScalarNearlyZero*SK_ScalarNearlyZero) { in reclassify_vertex()
1590 if (winding*v0.cross(v1) > SK_ScalarNearlyZero*SK_ScalarNearlyZero) { in SkTriangulateSimplePolygon()