Searched refs:distanceToSqd (Results 1 – 9 of 9) sorted by relevance
226 } while (quad[0].distanceToSqd(quad[1]) < halfSquared); in DEF_TEST()230 } while (quad[0].distanceToSqd(quad[2]) < halfSquared in DEF_TEST()231 || quad[1].distanceToSqd(quad[2]) < halfSquared); in DEF_TEST()278 } while (cubic[0].distanceToSqd(cubic[1]) < halfSquared); in DEF_TEST()282 } while ( cubic[0].distanceToSqd(cubic[2]) < halfSquared in DEF_TEST()283 || cubic[1].distanceToSqd(cubic[2]) < halfSquared); in DEF_TEST()287 } while ( cubic[0].distanceToSqd(cubic[3]) < halfSquared in DEF_TEST()288 || cubic[1].distanceToSqd(cubic[3]) < halfSquared in DEF_TEST()289 || cubic[2].distanceToSqd(cubic[3]) < halfSquared); in DEF_TEST()
231 SkScalar maxD = qPts[0].distanceToSqd(qPts[1]); in set()233 SkScalar d = qPts[1].distanceToSqd(qPts[2]); in set()238 d = qPts[2].distanceToSqd(qPts[0]); in set()489 SkScalar dSqd = sublevel > kMaxSubdivs ? 0 : c0.distanceToSqd(c1); in convert_noninflect_cubic_to_quads()511 SkScalar d0Sqd = c0.distanceToSqd(cAvg); in convert_noninflect_cubic_to_quads()512 SkScalar d1Sqd = c1.distanceToSqd(cAvg); in convert_noninflect_cubic_to_quads()
258 return b.distanceToSqd(*this); in distanceToLineSegmentBetweenSqd()
478 return pt.distanceToSqd(lineStart); in pt_to_line()487 return hit.distanceToSqd(pt); in pt_to_line()947 return nearPt.distanceToSqd(farPt) <= limit * limit; in points_within_dist()
198 if (pt.distanceToSqd(data->fFirstPoint) > kCloseSqd) { in update_degenerate_test()241 if (pts[0].distanceToSqd(pts[1]) < kCloseSqd || pts[1].distanceToSqd(pts[2]) < kCloseSqd) { in add_quad_segment()
178 if (p[0].distanceToSqd(p[1]) < gDegenerateToLineTolSqd || in is_degen_quad_or_conic()179 p[1].distanceToSqd(p[2]) < gDegenerateToLineTolSqd) { in is_degen_quad_or_conic()
49 SkScalar distSq = p0.distanceToSqd(p1); in duplicate_pt()
476 SkScalar distanceToSqd(const SkPoint& pt) const { in distanceToSqd() function
1473 double seDistSq = SkTMax(pt1.distanceToSqd(pt2) * 2, FLT_EPSILON * 2); in ptsDisjoint()1474 return midPt.distanceToSqd(pt1) > seDistSq || midPt.distanceToSqd(pt2) > seDistSq; in ptsDisjoint()