Home
last modified time | relevance | path

Searched refs:s0xt0 (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/pathops/
DSkOpAngle.cpp240 double s0xt0 = sweep->crossCheck(*tweep); in checkParallel() local
241 if (tangentsDiverge(rh, s0xt0)) { in checkParallel()
242 return s0xt0 < 0; in checkParallel()
331 double s0xt0 = sweep[0].crossCheck(tweep[0]); in convexHullOverlaps() local
333 bool tBetweenS = s0xs1 > 0 ? s0xt0 > 0 && s1xt0 < 0 : s0xt0 < 0 && s1xt0 > 0; in convexHullOverlaps()
341 if ((s0xt0 == 0 && s1xt1 == 0) || (s1xt0 == 0 && s0xt1 == 0)) { // s0 to s1 equals t0 to t1 in convexHullOverlaps()
344 bool sBetweenT = t0xt1 > 0 ? s0xt0 < 0 && s0xt1 > 0 : s0xt0 > 0 && s0xt1 < 0; in convexHullOverlaps()
350 if (s0xt0 >= 0 && s0xt1 >= 0 && s1xt0 >= 0 && s1xt1 >= 0) { in convexHullOverlaps()
353 if (s0xt0 <= 0 && s0xt1 <= 0 && s1xt0 <= 0 && s1xt1 <= 0) { in convexHullOverlaps()
362 if (s0xt0 > 0 && m0xm1 > 0) { in convexHullOverlaps()
[all …]
DSkOpAngle.h120 bool tangentsDiverge(const SkOpAngle* rh, double s0xt0) const;
/external/skia/tests/
DPathOpsAngleIdeas.cpp142 double s0xt0 = sweep[0].crossCheck(tweep[0]); in checkParallel() local
143 double m = s0xt0 / s0dt0; in checkParallel()
149 return s0xt0 < 0; in checkParallel()
167 double s0xt0 = sweep[0].crossCheck(tweep[0]); in quadHullsOverlap() local
169 bool tBetweenS = s0xs1 > 0 ? s0xt0 > 0 && s1xt0 < 0 : s0xt0 < 0 && s1xt0 > 0; in quadHullsOverlap()
177 if ((s0xt0 == 0 && s1xt1 == 0) || (s1xt0 == 0 && s0xt1 == 0)) { // s0 to s1 equals t0 to t1 in quadHullsOverlap()
180 bool sBetweenT = t0xt1 > 0 ? s0xt0 < 0 && s0xt1 > 0 : s0xt0 > 0 && s0xt1 < 0; in quadHullsOverlap()
186 if (s0xt0 >= 0 && s0xt1 >= 0 && s1xt0 >= 0 && s1xt1 >= 0) { in quadHullsOverlap()
189 if (s0xt0 <= 0 && s0xt1 <= 0 && s1xt0 <= 0 && s1xt1 <= 0) { in quadHullsOverlap()
198 if (s0xt0 > 0 && m0xm1 > 0) { in quadHullsOverlap()
[all …]