Home
last modified time | relevance | path

Searched refs:distanceSquared (Results 1 - 8 of 8) sorted by relevance

/third_party/skia/src/pathops/
H A DSkOpCubicHull.cpp101 double dist1_0 = fPts[1].distanceSquared(fPts[0]); in convexHull()
102 double dist1_3 = fPts[1].distanceSquared(fPts[3]); in convexHull()
103 double dist2_0 = fPts[2].distanceSquared(fPts[0]); in convexHull()
104 double dist2_3 = fPts[2].distanceSquared(fPts[3]); in convexHull()
H A DSkIntersections.cpp19 double dist = testPt.distanceSquared(iPt); in closestTo()
H A DSkPathOpsTSect.cpp109 double startDist = test->pointFirst().distanceSquared(pt); in closestBoundedT()
114 double endDist = test->pointLast().distanceSquared(pt); in closestBoundedT()
1119 double distSq = thisRayI.pt(index).distanceSquared(oppRayI.pt(oIndex)); in linesIntersect()
1138 double distSq = oppIPt.distanceSquared(iPt); in linesIntersect()
1665 double dist = c1[c1Index].distanceSquared(c2[c2Index]); in findEnd()
H A DSkPathOpsPoint.h227 double distanceSquared(const SkDPoint& a) const { in distanceSquared() function
H A DSkPathOpsDebug.cpp1243 double testLenSq = testStartPt.distanceSquared(testEndPt); in debugCheckNearCoincidence()
1253 double distSq = testStartPt.distanceSquared(nextStartPt); in debugCheckNearCoincidence()
1265 double nextLenSq = nextStartPt.distanceSquared(nextEndPt); in debugCheckNearCoincidence()
H A DSkOpSegment.cpp522 double testDistSq = testPt.distanceSquared(i.pt(index)); in distSq()
/third_party/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp26 double distanceSquared(DPoint p) const { in distanceSquared() function
32 double distance(DPoint p) const { return sqrt(this->distanceSquared(p)); } in distance()
603 dist = (float)xformPt.distanceSquared(x); in distance_to_segment()
605 const float distToB0T = (float)xformPt.distanceSquared(segment.fP0T); in distance_to_segment()
606 const float distToB2T = (float)xformPt.distanceSquared(segment.fP2T); in distance_to_segment()
/third_party/skia/tests/
H A DPathOpsDPointTest.cpp44 REPORTER_ASSERT(reporter, pt.distanceSquared(p) == pt.fX * pt.fX + pt.fY * pt.fY); in DEF_TEST()

Completed in 23 milliseconds