Home
last modified time | relevance | path

Searched refs:approximately_zero_when_compared_to (Results 1 – 8 of 8) sorted by relevance

/external/skia/tests/
DPathOpsCubicLineIntersectionIdeas.cpp102 && approximately_zero_when_compared_to(A, B)
103 && approximately_zero_when_compared_to(A, C)
104 && approximately_zero_when_compared_to(A, D)) { // we're just a quadratic
107 if (approximately_zero_when_compared_to(D, A)
108 && approximately_zero_when_compared_to(D, B)
109 && approximately_zero_when_compared_to(D, C)) { // 0 is one root
DPathOpsAngleIdeas.cpp254 return approximately_zero_when_compared_to(pt1.fX - pt2.fX, max) in equalPoints()
255 && approximately_zero_when_compared_to(pt1.fY - pt2.fY, max); in equalPoints()
/external/skia/src/pathops/
DSkPathOpsCubic.cpp225 if (!approximately_zero_when_compared_to(distance, largest)) { in isLinear()
229 return approximately_zero_when_compared_to(distance, largest); in isLinear()
378 && approximately_zero_when_compared_to(A, B) in RootsReal()
379 && approximately_zero_when_compared_to(A, C) in RootsReal()
380 && approximately_zero_when_compared_to(A, D)) { // we're just a quadratic in RootsReal()
383 if (approximately_zero_when_compared_to(D, A) in RootsReal()
384 && approximately_zero_when_compared_to(D, B) in RootsReal()
385 && approximately_zero_when_compared_to(D, C)) { // 0 is one root in RootsReal()
DSkPathOpsQuad.cpp156 return approximately_zero_when_compared_to(distance, largest); in isLinear()
DSkPathOpsTypes.h299 inline bool approximately_zero_when_compared_to(double x, double y) { in approximately_zero_when_compared_to() function
DSkDConicLineIntersection.cpp63 return approximately_zero_when_compared_to(a - b, max); in close_to()
DSkPathOpsTSect.h619 if (approximately_zero_when_compared_to(test, maxVal)) { in linearIntersects()
/external/skia/src/core/
DSkPath.cpp2238 static bool approximately_zero_when_compared_to(double x, double y) { in approximately_zero_when_compared_to() function
2331 if (!approximately_zero_when_compared_to(dCross, SkScalarToDouble(largest))) { in directionChange()