/dports/x11-toolkits/tk85/tk8.5.19/generic/ |
H A D | tkCanvLine.c | 1379 return bestDist; in LineToPoint() 1383 if (bestDist < 0) bestDist = 0; in LineToPoint() 1384 return bestDist; in LineToPoint() 1408 bestDist = 0.0; in LineToPoint() 1411 bestDist = dist; in LineToPoint() 1502 bestDist = 0.0; in LineToPoint() 1505 bestDist = dist; in LineToPoint() 1512 bestDist = 0.0; in LineToPoint() 1515 bestDist = dist; in LineToPoint() 1776 bestDist = 1.0e36; in GetLineIndex() [all …]
|
H A D | tkCanvPoly.c | 1262 bestDist = 1.0e36; in PolygonToPoint() 1309 bestDist = 0.0; in PolygonToPoint() 1312 bestDist = dist; in PolygonToPoint() 1339 bestDist = 0.0; in PolygonToPoint() 1342 bestDist = dist; in PolygonToPoint() 1376 bestDist = 0.0; in PolygonToPoint() 1402 bestDist = 0.0; in PolygonToPoint() 1405 bestDist = dist; in PolygonToPoint() 1413 return bestDist; in PolygonToPoint() 1713 bestDist = 1.0e36; in GetPolygonIndex() [all …]
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/generic/ |
H A D | tkCanvLine.c | 1352 return bestDist; 1356 if (bestDist < 0) bestDist = 0; 1357 return bestDist; 1382 bestDist = 0.0; 1385 bestDist = dist; 1477 bestDist = 0.0; 1480 bestDist = dist; 1487 bestDist = 0.0; 1490 bestDist = dist; 1762 bestDist = 1.0e36; [all …]
|
H A D | tkCanvPoly.c | 1242 bestDist = 1.0e36; 1286 bestDist = 0.0; 1289 bestDist = dist; 1315 bestDist = 0.0; 1318 bestDist = dist; 1352 bestDist = 0.0; 1378 bestDist = 0.0; 1381 bestDist = dist; 1389 return bestDist; 1704 bestDist = 1.0e36; [all …]
|
/dports/science/mcstas/mcstas-2.5-src/lib/share/ |
H A D | interpolation-lib.c | 191 vertex **bestV, double *bestDist) in kdtree_nearestNeighbour_helper() argument 193 if (!v || !tree || !bestDist) return; in kdtree_nearestNeighbour_helper() 204 kdtree_nearestNeighbour_helper(v, first, bestV, bestDist); in kdtree_nearestNeighbour_helper() 209 if ((*bestV == NULL) || (thisDist < *bestDist)) { in kdtree_nearestNeighbour_helper() 210 *bestDist = thisDist; in kdtree_nearestNeighbour_helper() 222 if (R_SQR(treek - v->v[k]) <= *bestDist) { in kdtree_nearestNeighbour_helper() 223 kdtree_borderCheck(v, second, bestV, bestDist); in kdtree_nearestNeighbour_helper() 231 double bestDist = 0; in kdtree_nearestNeighbour() local 234 kdtree_nearestNeighbour_helper(v, tree, &bestV, &bestDist); in kdtree_nearestNeighbour()
|
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/ |
H A D | target.cpp | 225 uint16 bestDist = maxuint16; in where() local 265 if (dist < bestDist) { in where() 267 bestDist = dist; in where() 495 if (dist < bestDist) { in where() 497 bestDist = dist; in where() 783 if (dist > 0 && dist < bestDist) { in where() 789 bestDist = dist; in where() 801 bestDist = dist; in where() 849 if (dist > 0 && dist < bestDist) { in object() 854 bestDist = dist; in object() [all …]
|
/dports/graphics/py-beziers/beziers-0.4.0/beziers/ |
H A D | cubicbezier.py | 35 bestDist = float("inf") 40 if dist < bestDist: 41 bestDist = dist 51 if ldist < bestDist: 53 bestDist = ldist 54 if rdist < bestDist: 56 bestDist = rdist
|
/dports/x11-toolkits/tk86/tk8.6.12/generic/ |
H A D | tkCanvPoly.c | 1263 bestDist = 1.0e36; in PolygonToPoint() 1307 bestDist = 0.0; in PolygonToPoint() 1310 bestDist = dist; in PolygonToPoint() 1337 bestDist = 0.0; in PolygonToPoint() 1340 bestDist = dist; in PolygonToPoint() 1374 bestDist = 0.0; in PolygonToPoint() 1400 bestDist = 0.0; in PolygonToPoint() 1403 bestDist = dist; in PolygonToPoint() 1411 return bestDist; in PolygonToPoint() 1700 bestDist = 1.0e36; in GetPolygonIndex() [all …]
|
/dports/x11-toolkits/tk87/tk8.7a5/generic/ |
H A D | tkCanvPoly.c | 1265 bestDist = 1.0e36; in PolygonToPoint() 1309 bestDist = 0.0; in PolygonToPoint() 1312 bestDist = dist; in PolygonToPoint() 1339 bestDist = 0.0; in PolygonToPoint() 1342 bestDist = dist; in PolygonToPoint() 1376 bestDist = 0.0; in PolygonToPoint() 1402 bestDist = 0.0; in PolygonToPoint() 1405 bestDist = dist; in PolygonToPoint() 1413 return bestDist; in PolygonToPoint() 1713 bestDist = 1.0e36; in GetPolygonIndex() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/thebes/ |
H A D | gfxFcPlatformFontList.cpp | 801 double bestDist = -1.0; in ChooseFontSize() local 809 if (bestDist < 0.0 || dist < bestDist) { in ChooseFontSize() 810 bestDist = dist; in ChooseFontSize() 967 double bestDist = -1.0; in SizeDistance() local 974 if (bestDist < 0.0 || dist < bestDist) { in SizeDistance() 975 bestDist = dist; in SizeDistance() 978 if (bestDist < 0.0) { in SizeDistance() 984 return bestDist; in SizeDistance() 1011 double bestDist = -1.0; in FindAllFontsForStyle() local 1036 bestDist = dist; in FindAllFontsForStyle() [all …]
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/matrix-org/pinecone/router/ |
H A D | state_tree.go | 208 bestDist := ourDist 228 case peerDist < bestDist: 230 bestPeer, bestDist, bestOrdering = p, peerDist, ann.receiveOrder 232 case peerDist > bestDist: 238 bestPeer, bestDist, bestOrdering = p, peerDist, ann.receiveOrder
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/ai/ |
H A D | AAS_pathing.cpp | 86 float dist, bestDist; in FloorEdgeSplitPoint() local 89 bestDist = maxWalkPathDistance; in FloorEdgeSplitPoint() 91 bestDist = -0.1f; in FloorEdgeSplitPoint() 112 if ( dist >= -0.1f && dist < bestDist ) { in FloorEdgeSplitPoint() 113 bestDist = dist; in FloorEdgeSplitPoint() 117 if ( dist > bestDist ) { in FloorEdgeSplitPoint() 118 bestDist = dist; in FloorEdgeSplitPoint() 126 return ( bestDist < maxWalkPathDistance ); in FloorEdgeSplitPoint() 128 return ( bestDist > -0.1f ); in FloorEdgeSplitPoint()
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/ai/ |
H A D | AAS_pathing.cpp | 86 float dist, bestDist; in FloorEdgeSplitPoint() local 89 bestDist = maxWalkPathDistance; in FloorEdgeSplitPoint() 91 bestDist = -0.1f; in FloorEdgeSplitPoint() 112 if ( dist >= -0.1f && dist < bestDist ) { in FloorEdgeSplitPoint() 113 bestDist = dist; in FloorEdgeSplitPoint() 117 if ( dist > bestDist ) { in FloorEdgeSplitPoint() 118 bestDist = dist; in FloorEdgeSplitPoint() 126 return ( bestDist < maxWalkPathDistance ); in FloorEdgeSplitPoint() 128 return ( bestDist > -0.1f ); in FloorEdgeSplitPoint()
|
/dports/math/flann/flann-1.9.1-29-g1d04523/src/cpp/flann/util/cuda/ |
H A D | result_set.h | 54 DistanceType bestDist; member 58 SingleResultSet( DistanceType eps ) : bestIndex(-1),bestDist(INFINITY), epsError(eps){ } in SingleResultSet() 64 return bestDist; in worstDist() 71 if( dist <= bestDist ) { in insert() 73 bestDist=dist; in insert() 98 resultDist[0]=bestDist; in finish()
|
/dports/graphics/colmap/colmap-3.6/lib/FLANN/util/cuda/ |
H A D | result_set.h | 54 DistanceType bestDist; member 58 SingleResultSet( DistanceType eps ) : bestIndex(-1),bestDist(INFINITY), epsError(eps){ } in SingleResultSet() 64 return bestDist; in worstDist() 71 if( dist <= bestDist ) { in insert() 73 bestDist=dist; in insert() 98 resultDist[0]=bestDist; in finish()
|
/dports/misc/openmvg/openMVG-2.0/src/third_party/flann/src/cpp/flann/util/cuda/ |
H A D | result_set.h | 54 DistanceType bestDist; member 58 SingleResultSet( DistanceType eps ) : bestIndex(-1),bestDist(INFINITY), epsError(eps){ } in SingleResultSet() 64 return bestDist; in worstDist() 71 if( dist <= bestDist ) { in insert() 73 bestDist=dist; in insert() 98 resultDist[0]=bestDist; in finish()
|
/dports/games/spring/spring_98.0/AI/Skirmish/Shard/data/ai/BA/ |
H A D | targethandler.lua | 766 local bestDist = 99999 778 if dist < bestDist then 780 bestDist = dist 946 local bestDist = 99999 963 bestDist = dist 978 local bestDist = 99999 987 bestDist = dist 1027 local bestDist = 99999 1037 bestDist = dist 1083 local bestDist = 20000 [all …]
|
/dports/games/openspades/openspades-0.1.3/Sources/Client/ |
H A D | Corpse.cpp | 331 if (dist < bestDist) { in CheckEscape() 332 bestDist = dist; in CheckEscape() 392 float bestDist = 1000.f; in LineCollision() local 395 IntVector3::Make(1, 0, 0), bestDist, bestDir); in LineCollision() 397 IntVector3::Make(-1, 0, 0), bestDist, bestDir); in LineCollision() 399 IntVector3::Make(0, 1, 0), bestDist, bestDir); in LineCollision() 401 IntVector3::Make(0, -1, 0), bestDist, bestDir); in LineCollision() 403 IntVector3::Make(0, 0, 1), bestDist, bestDir); in LineCollision() 405 IntVector3::Make(0, 0, -1), bestDist, bestDir); in LineCollision() 406 if (bestDist > 10.f) { in LineCollision() [all …]
|
/dports/cad/sumo/sumo-1.2.0/tools/net/ |
H A D | visum_mapDistricts.py | 226 bestDist = -1 variable 236 if bestDist == -1 or bestDist > dist: 238 bestDist = dist variable 256 bestDist = -1 variable 266 if (bestDist == -1 or bestDist > dist) and n2 != preBest: 268 bestDist = dist variable
|
/dports/cad/calculix/CalculiX/libSNL/src/ |
H A D | snlNurbsCommon.cpp | 196 basis bestDist; // Used for point selection with multiple hits. in projPtSurf() local 593 bestDist = cBest -> dist; in projPtSurf() 599 if ( bestDist > ( cBest -> dist ) ) bestDist = ( cBest -> dist ); in projPtSurf() 604 …if ( bestDist < iterTol ) bestDist = iterTol; // Accounts for discrepencies in Newton convergence. in projPtSurf() 614 if ( ( cBest -> flag ) && ( ( cBest -> dist ) <= bestDist ) ) in projPtSurf()
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cudalegacy/src/cuda/ |
H A D | bm_fast.cu | 184 int bestDist = numeric_limits<int>::max(); in convolve_window() local 190 if (curDist < bestDist) in convolve_window() 192 bestDist = curDist; in convolve_window() 200 …reduceKeyVal<CTA_SIZE>(cta_dist_buffer, bestDist, cta_ind_buffer, bestInd, threadIdx.x, less<int>(… in convolve_window()
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/thebes/ |
H A D | gfxFcPlatformFontList.cpp | 885 double bestDist = -1.0; in ChooseFontSize() local 893 if (bestDist < 0.0 || dist < bestDist) { in ChooseFontSize() 894 bestDist = dist; in ChooseFontSize() 1186 double bestDist = -1.0; in SizeDistance() local 1193 if (bestDist < 0.0 || dist < bestDist) { in SizeDistance() 1194 bestDist = dist; in SizeDistance() 1197 if (bestDist < 0.0) { in SizeDistance() 1203 return bestDist; in SizeDistance() 1227 double bestDist = -1.0; in FindAllFontsForStyle() local 1251 bestDist = dist; in FindAllFontsForStyle() [all …]
|
/dports/biology/bbmap/bbmap/current/dna/ |
H A D | Gene.java | 554 int bestDist=999999999; 566 if(x<bestDist){ 567 bestDist=x; 583 if(x<bestDist){ 584 bestDist=x; 600 if(x<bestDist){ 601 bestDist=x; 612 if(x<bestDist){ 613 bestDist=x; 627 return new int[] {bestDist, nearestExon, side, position, bestSite};
|
/dports/games/spring/spring_98.0/rts/Sim/Units/CommandAI/ |
H A D | BuilderCAI.cpp | 1466 float bestDist = bestStartDist; in FindReclaimTarget() local 1500 bestDist = dist; in FindReclaimTarget() 1539 bestDist = dist; in FindReclaimTarget() 1585 float bestDist = 1.0e30f; in FindResurrectableFeatureAndResurrect() local 1597 if (dist < bestDist) { in FindResurrectableFeatureAndResurrect() 1605 bestDist = dist; in FindResurrectableFeatureAndResurrect() 1629 float bestDist = 1.0e30f; in FindCaptureTargetAndCapture() local 1653 bestDist = dist; in FindCaptureTargetAndCapture() 1679 float bestDist = 1.0e30f; in FindRepairTargetAndRepair() local 1734 bestDist = dist; in FindRepairTargetAndRepair() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/thebes/ |
H A D | gfxFcPlatformFontList.cpp | 766 double bestDist = -1.0; in ChooseFontSize() local 774 if (bestDist < 0.0 || dist < bestDist) { in ChooseFontSize() 775 bestDist = dist; in ChooseFontSize() 1073 double bestDist = -1.0; in SizeDistance() local 1080 if (bestDist < 0.0 || dist < bestDist) { in SizeDistance() 1081 bestDist = dist; in SizeDistance() 1084 if (bestDist < 0.0) { in SizeDistance() 1090 return bestDist; in SizeDistance() 1114 double bestDist = -1.0; in FindAllFontsForStyle() local 1138 bestDist = dist; in FindAllFontsForStyle() [all …]
|