Lines Matching refs:nle
90 double nle = Geom::dot(mp, mp);
92 if ( nle < current ) {
94 current = nle;
95 nle = RecDistanceToCubic(iS, hisD, m, md, pt, current, lev - 1, st, mt);
96 if ( nle < current ) {
97 current = nle;
99 nle = RecDistanceToCubic(m, md, iE, hieD, pt, current, lev - 1, mt, et);
100 if ( nle < current ) {
101 current = nle;
104 } else if ( nle < 2 * current ) {
106 nle = RecDistanceToCubic(iS, hisD, m, md, pt, current, lev - 1, st, mt);
107 if ( nle < current ) {
108 current = nle;
110 nle = RecDistanceToCubic(m, md, iE, hieD, pt, current, lev - 1, mt, et);
111 if ( nle < current ) {
112 current = nle;
124 double nle = Geom::dot(sp, sp);
126 if ( nnle < nle ) {
127 nle = nnle;
134 if ( nnle < nle ) {
138 nle = nnle;
143 return nle;
410 double nle = DistanceToCubic(start, res, nPt);
413 if ( worstP < 0 || 2*nle > worstD ) {
415 worstD = 2*nle;
418 if ( worstP < 0 || nle > worstD ) {
420 worstD = nle;
472 double nle = DistanceToCubic(start, res, nPt);
475 if ( worstP < 0 || 2 * nle > worstD ) {
477 worstD = 2 * nle;
480 if ( worstP < 0 || nle > worstD ) {
482 worstD = nle;
816 double nle = DistanceToCubic(start, res, nPt);
819 if ( worstP < 0 || 2 * nle > worstD ) {
821 worstD = 2 * nle;
824 if ( worstP < 0 || nle > worstD ) {
826 worstD = nle;
859 double nle = DistanceToCubic(start, res, nPt);
862 if ( worstP < 0 || 2 * nle > worstD ) {
864 worstD = 2 * nle;
867 if ( worstP < 0 || nle > worstD ) {
869 worstD = nle;