Searched refs:anchorDistance (Results 1 – 2 of 2) sorted by relevance
27 float anchorDistance = 0; in checkMaxAngle() local30 while (anchorDistance > -labelLength / 2) { in checkMaxAngle()36 anchorDistance -= util::dist<float>(line[index], p); in checkMaxAngle()40 anchorDistance += util::dist<float>(line[index], line[index + 1]); in checkMaxAngle()48 while (anchorDistance < labelLength / 2) { in checkMaxAngle()61 recentCorners.emplace(anchorDistance, angleDelta); in checkMaxAngle()65 while (anchorDistance - recentCorners.front().distance > windowSize) { in checkMaxAngle()74 anchorDistance += util::dist<float>(current, next); in checkMaxAngle()
64 float anchorDistance = firstBoxOffset; in bboxifyLabel() local73 if (anchorDistance > labelStartDistance) { in bboxifyLabel()85 anchorDistance -= util::dist<float>(line[index], p); in bboxifyLabel()87 } while (anchorDistance > paddingStartDistance); in bboxifyLabel()100 if (boxDistanceToAnchor < anchorDistance) { in bboxifyLabel()107 while (anchorDistance + segmentLength < boxDistanceToAnchor) { in bboxifyLabel()108 anchorDistance += segmentLength; in bboxifyLabel()118 const float segmentBoxDistance = boxDistanceToAnchor - anchorDistance; in bboxifyLabel()