/dports/math/geogram/geogram-1.7.7/src/tests/test_nn_search/third_party/ANN/ |
H A D | brute.cpp | 70 ANNdist sqDist = annDist(dim, pts[i], q); in annkSearch() local 71 if (ANN_ALLOW_SELF_MATCH || sqDist != 0) in annkSearch() 72 mk.insert(sqDist, i); in annkSearch() 94 ANNdist sqDist = annDist(dim, pts[i], q); in annkFRSearch() local 95 if (sqDist <= sqRad && // within radius bound in annkFRSearch() 96 (ANN_ALLOW_SELF_MATCH || sqDist != 0)) { // ...and no self match in annkFRSearch() 97 mk.insert(sqDist, i); in annkFRSearch()
|
/dports/graphics/autopano-sift-c/autopano-sift-C-2.5.1/APSCpp/ANN/ |
H A D | brute.cpp | 70 ANNdist sqDist = annDist(dim, pts[i], q); in annkSearch() local 71 if (ANN_ALLOW_SELF_MATCH || sqDist != 0) in annkSearch() 72 mk.insert(sqDist, i); in annkSearch() 94 ANNdist sqDist = annDist(dim, pts[i], q); in annkFRSearch() local 95 if (sqDist <= sqRad && // within radius bound in annkFRSearch() 96 (ANN_ALLOW_SELF_MATCH || sqDist != 0)) { // ...and no self match in annkFRSearch() 97 mk.insert(sqDist, i); in annkFRSearch()
|
/dports/math/ann/ann_1.1.2/src/ |
H A D | brute.cpp | 70 ANNdist sqDist = annDist(dim, pts[i], q); in annkSearch() local 71 if (ANN_ALLOW_SELF_MATCH || sqDist != 0) in annkSearch() 72 mk.insert(sqDist, i); in annkSearch() 94 ANNdist sqDist = annDist(dim, pts[i], q); in annkFRSearch() local 95 if (sqDist <= sqRad && // within radius bound in annkFRSearch() 96 (ANN_ALLOW_SELF_MATCH || sqDist != 0)) { // ...and no self match in annkFRSearch() 97 mk.insert(sqDist, i); in annkFRSearch()
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/ANN/src/ |
H A D | brute.cpp | 70 ANNdist sqDist = annDist(dim, pts[i], q); in annkSearch() local 71 if (ANN_ALLOW_SELF_MATCH || sqDist != 0) in annkSearch() 72 mk.insert(sqDist, i); in annkSearch() 94 ANNdist sqDist = annDist(dim, pts[i], q); in annkFRSearch() local 95 if (sqDist <= sqRad && // within radius bound in annkFRSearch() 96 (ANN_ALLOW_SELF_MATCH || sqDist != 0)) { // ...and no self match in annkFRSearch() 97 mk.insert(sqDist, i); in annkFRSearch()
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/external/ann_1.1.1/src/ |
H A D | brute.cpp | 70 ANNdist sqDist = annDist(dim, pts[i], q); in annkSearch() local 71 if (ANN_ALLOW_SELF_MATCH || sqDist != 0) in annkSearch() 72 mk.insert(sqDist, i); in annkSearch() 94 ANNdist sqDist = annDist(dim, pts[i], q); in annkFRSearch() local 95 if (sqDist <= sqRad && // within radius bound in annkFRSearch() 96 (ANN_ALLOW_SELF_MATCH || sqDist != 0)) { // ...and no self match in annkFRSearch() 97 mk.insert(sqDist, i); in annkFRSearch()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/src/contrib/ANN/src/ |
H A D | brute.cpp | 70 ANNdist sqDist = annDist(dim, pts[i], q); in annkSearch() local 71 if (ANN_ALLOW_SELF_MATCH || sqDist != 0) in annkSearch() 72 mk.insert(sqDist, i); in annkSearch() 94 ANNdist sqDist = annDist(dim, pts[i], q); in annkFRSearch() local 95 if (sqDist <= sqRad && // within radius bound in annkFRSearch() 96 (ANN_ALLOW_SELF_MATCH || sqDist != 0)) { // ...and no self match in annkFRSearch() 97 mk.insert(sqDist, i); in annkFRSearch()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/approxnn/src/ |
H A D | brute.cpp | 70 ANNdist sqDist = annDist(dim, pts[i], q); in annkSearch() local 71 if (ANN_ALLOW_SELF_MATCH || sqDist != 0) in annkSearch() 72 mk.insert(sqDist, i); in annkSearch() 94 ANNdist sqDist = annDist(dim, pts[i], q); in annkFRSearch() local 95 if (sqDist <= sqRad && // within radius bound in annkFRSearch() 96 (ANN_ALLOW_SELF_MATCH || sqDist != 0)) { // ...and no self match in annkFRSearch() 97 mk.insert(sqDist, i); in annkFRSearch()
|
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/chrono/ |
H A D | ChCollisionUtilsMPR.cpp | 193 if (sqDist < bestSqDist) { in FindTriIndex() 194 bestSqDist = sqDist; in FindTriIndex() 199 sqDist = Dot(P - res); in FindTriIndex() 200 if (sqDist < bestSqDist) { in FindTriIndex() 201 bestSqDist = sqDist; in FindTriIndex() 206 sqDist = Dot(P - res); in FindTriIndex() 207 if (sqDist < bestSqDist) { in FindTriIndex() 208 bestSqDist = sqDist; in FindTriIndex() 213 sqDist = Dot(P - res); in FindTriIndex() 214 if (sqDist < bestSqDist) { in FindTriIndex() [all …]
|
/dports/graphics/scantailor/scantailor-advanced-1.0.16/foundation/ |
H A D | Proximity.h | 36 static Proximity fromSqDist(double sqDist) { return Proximity(sqDist); } in fromSqDist() argument 42 double sqDist() const { return m_sqDist; } in sqDist() function 57 explicit Proximity(double sqDist) : m_sqDist(sqDist) {} in Proximity() argument
|
/dports/graphics/jogamp-jogl/jogl/src/newt/classes/com/jogamp/newt/event/ |
H A D | DoubleTapScrollGesture.java | 228 final int sqDist = getSquareDistance(x0, y0, x1, y1); in process() local 229 final boolean isDistWithinDoubleTapSlop = sqDist < doubleTapSlopSquare; in process() 237 sqStartDist = sqDist; in process() 241 final int dist = (int)Math.round(Math.sqrt(sqDist)); in process() 285 final int sqDist = getSquareDistance(x0, y0, x1, y1); in process() 286 …final boolean isDistDiffWithinDoubleTapSlop = Math.abs(sqDist - sqStartDist) <= doubleTapSlopSquar… in process() 307 … final boolean isDistWithinDoubleTapSlop = sqDist < doubleTapSlopSquare; in process() 308 final int dist = (int)Math.round(Math.sqrt(sqDist)); in process() 319 … final boolean isDistWithinDoubleTapSlop = sqDist < doubleTapSlopSquare; in process() 320 final int dist = (int)Math.round(Math.sqrt(sqDist)); in process()
|
/dports/java/java3d/java3d-1.5.2/j3d-core/src/classes/share/javax/media/j3d/ |
H A D | PickCylinderRay.java | 100 double sqDist = in intersect() local 102 if (sqDist <= (sphRadius+radius)*(sphRadius+radius)) { in intersect() 125 double sqDist = in intersect() local 128 if (sqDist > boxRadiusSquared ) { in intersect() 131 else if (sqDist < (radius*radius)) { in intersect() 188 double sqDist = in intersect() local 190 if (sqDist > (sphRadius+radius) * (sphRadius+radius)) { in intersect()
|
/dports/devel/bullet/bullet3-3.21/src/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 472 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 474 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 476 bestSqDist = sqDist; in closestPtPointTetrahedron() 498 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 499 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 501 bestSqDist = sqDist; in closestPtPointTetrahedron() 523 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 524 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 526 bestSqDist = sqDist; in closestPtPointTetrahedron() 548 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/graphics/blender/blender-2.91.0/extern/bullet2/src/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 472 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 474 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 476 bestSqDist = sqDist; in closestPtPointTetrahedron() 498 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 499 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 501 bestSqDist = sqDist; in closestPtPointTetrahedron() 523 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 524 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 526 bestSqDist = sqDist; in closestPtPointTetrahedron() 548 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/bullet/src/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 493 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 495 if (sqDist < bestSqDist) { in closestPtPointTetrahedron() 496 bestSqDist = sqDist; in closestPtPointTetrahedron() 521 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 522 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 524 bestSqDist = sqDist; in closestPtPointTetrahedron() 549 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 550 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 552 bestSqDist = sqDist; in closestPtPointTetrahedron() 577 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/games/critterding/critterding-beta12/src/utils/bullet/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 493 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 495 if (sqDist < bestSqDist) { in closestPtPointTetrahedron() 496 bestSqDist = sqDist; in closestPtPointTetrahedron() 521 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 522 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 524 bestSqDist = sqDist; in closestPtPointTetrahedron() 549 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 550 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 552 bestSqDist = sqDist; in closestPtPointTetrahedron() 577 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/bullet/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 472 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 474 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 476 bestSqDist = sqDist; in closestPtPointTetrahedron() 498 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 499 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 501 bestSqDist = sqDist; in closestPtPointTetrahedron() 523 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 524 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 526 bestSqDist = sqDist; in closestPtPointTetrahedron() 548 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/bullet/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 472 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 474 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 476 bestSqDist = sqDist; in closestPtPointTetrahedron() 498 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 499 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 501 bestSqDist = sqDist; in closestPtPointTetrahedron() 523 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 524 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 526 bestSqDist = sqDist; in closestPtPointTetrahedron() 548 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/bullet/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 472 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 474 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 476 bestSqDist = sqDist; in closestPtPointTetrahedron() 498 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 499 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 501 bestSqDist = sqDist; in closestPtPointTetrahedron() 523 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 524 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 526 bestSqDist = sqDist; in closestPtPointTetrahedron() 548 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Bullet/src/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 496 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 498 if (sqDist < bestSqDist) { in closestPtPointTetrahedron() 499 bestSqDist = sqDist; in closestPtPointTetrahedron() 524 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 525 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 527 bestSqDist = sqDist; in closestPtPointTetrahedron() 552 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 553 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 555 bestSqDist = sqDist; in closestPtPointTetrahedron() 580 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/src/Bullet3OpenCL/NarrowphaseCollision/ |
H A D | b3VoronoiSimplexSolver.cpp | 469 b3Scalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 471 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 473 bestSqDist = sqDist; in closestPtPointTetrahedron() 495 b3Scalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 496 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 498 bestSqDist = sqDist; in closestPtPointTetrahedron() 520 b3Scalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 521 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 523 bestSqDist = sqDist; in closestPtPointTetrahedron() 545 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/src/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 472 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 474 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 476 bestSqDist = sqDist; in closestPtPointTetrahedron() 498 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 499 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 501 bestSqDist = sqDist; in closestPtPointTetrahedron() 523 btScalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 524 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 526 bestSqDist = sqDist; in closestPtPointTetrahedron() 548 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/extern/bullet/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 493 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 495 if (sqDist < bestSqDist) { in closestPtPointTetrahedron() 496 bestSqDist = sqDist; in closestPtPointTetrahedron() 521 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 522 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 524 bestSqDist = sqDist; in closestPtPointTetrahedron() 549 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 550 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 552 bestSqDist = sqDist; in closestPtPointTetrahedron() 577 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/src/BulletCollision/NarrowPhaseCollision/ |
H A D | btVoronoiSimplexSolver.cpp | 493 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 495 if (sqDist < bestSqDist) { in closestPtPointTetrahedron() 496 bestSqDist = sqDist; in closestPtPointTetrahedron() 521 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 522 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 524 bestSqDist = sqDist; in closestPtPointTetrahedron() 549 btScalar sqDist = (q - p).dot( q - p); in closestPtPointTetrahedron() local 550 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 552 bestSqDist = sqDist; in closestPtPointTetrahedron() 577 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/bullet/Bullet3OpenCL/NarrowphaseCollision/ |
H A D | b3VoronoiSimplexSolver.cpp | 469 b3Scalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 471 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 473 bestSqDist = sqDist; in closestPtPointTetrahedron() 495 b3Scalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 496 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 498 bestSqDist = sqDist; in closestPtPointTetrahedron() 520 b3Scalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 521 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 523 bestSqDist = sqDist; in closestPtPointTetrahedron() 545 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/bullet/Bullet3OpenCL/NarrowphaseCollision/ |
H A D | b3VoronoiSimplexSolver.cpp | 469 b3Scalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 471 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 473 bestSqDist = sqDist; in closestPtPointTetrahedron() 495 b3Scalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 496 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 498 bestSqDist = sqDist; in closestPtPointTetrahedron() 520 b3Scalar sqDist = (q - p).dot(q - p); in closestPtPointTetrahedron() local 521 if (sqDist < bestSqDist) in closestPtPointTetrahedron() 523 bestSqDist = sqDist; in closestPtPointTetrahedron() 545 if (sqDist < bestSqDist) in closestPtPointTetrahedron() [all …]
|