Lines Matching refs:dsq
660 double dsq;
665 dsq = distanceSq(_point, bb);
666 if (mindistsq < dsq)
669 dsq = distanceSq(_point, _path[i].pointAt(all_t.front()));
670 if (mindistsq > dsq) {
675 mindistsq = dsq;
676 } else if (mindistsq == dsq) {
682 dsq = distanceSq(_point, bb);
683 if (mindistsq >= dsq) {
685 dsq = distanceSq(_point, _path[ei].pointAt(all_t.front()));
686 if (mindistsq > dsq) {
691 } else if (mindistsq == dsq) {