/dports/audio/libnoise/noise/src/module/ |
H A D | voronoi.cpp | 68 double yDist = yPos - y; in GetValue() local 70 double dist = xDist * xDist + yDist * yDist + zDist * zDist; in GetValue() 88 double yDist = yCandidate - y; in GetValue() local 90 value = (sqrt (xDist * xDist + yDist * yDist + zDist * zDist) in GetValue()
|
/dports/games/maelstrom/Maelstrom-3.0.6/netlogic/ |
H A D | make.cpp | 118 int xDist, yDist; in MakeNova() local 124 gPlayers[i]->GetPos(&xDist, &yDist); in MakeNova() 126 yDist = abs(yDist-y); in MakeNova() 129 (yDist < (SCALE_FACTOR * min_bad_distance)) ) in MakeNova() 249 int xDist, yDist; in MakeGravity() local 255 gPlayers[i]->GetPos(&xDist, &yDist); in MakeGravity() 257 yDist = abs(yDist-y); in MakeGravity() 260 (yDist < (SCALE_FACTOR * min_bad_distance)) ) in MakeGravity()
|
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/point-to-point-layout/model/ |
H A D | point-to-point-star.cc | 141 double yDist; in BoundingBox() local 152 yDist = lry - uly; in BoundingBox() 156 yDist = uly - lry; in BoundingBox() 167 Vector hubVec (ulx + xDist/2.0, uly + yDist/2.0, 0); in BoundingBox() 171 if (xDist > yDist) in BoundingBox() 173 spokeDist = yDist/4.0; in BoundingBox()
|
H A D | point-to-point-grid.cc | 190 double yDist; in BoundingBox() local 201 yDist = lry - uly; in BoundingBox() 205 yDist = uly - lry; in BoundingBox() 208 double yAdder = yDist / m_ySize; in BoundingBox() 209 double yLoc = yDist / 2; in BoundingBox()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/micro/org/openjdk/bench/jdk/incubator/foreign/points/support/ |
H A D | libPoint.c | 36 int yDist = abs(p1.y - p2.y); in distance() local 37 return sqrt((xDist * xDist) + (yDist * yDist)); in distance()
|
H A D | libJNIPoint.c | 32 int yDist = abs(p1.y - p2.y); in distance() local 33 return sqrt((xDist * xDist) + (yDist * yDist)); in distance()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/micro/org/openjdk/bench/jdk/incubator/foreign/points/support/ |
H A D | libPoint.c | 36 int yDist = abs(p1.y - p2.y); in distance() local 37 return sqrt((xDist * xDist) + (yDist * yDist)); in distance()
|
H A D | libJNIPoint.c | 32 int yDist = abs(p1.y - p2.y); in distance() local 33 return sqrt((xDist * xDist) + (yDist * yDist)); in distance()
|
/dports/graphics/embree/embree-3.13.2/tutorials/convert/ |
H A D | distribution2d.cpp | 37 yDist.init(fy.data(), height); in init() 43 float sy = yDist.sample(u.y); in sample() 53 return xDists[idx].pdf(p.x) * yDist.pdf(p.y); in pdf()
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/worklet/cosmotools/ |
H A D | ComputePotentialNxN.h | 99 T yDist = yLoc.Get(i) - yLoc.Get(j); in operator() local 101 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
|
H A D | ComputePotentialOnCandidates.h | 99 T yDist = yLoc.Get(i) - yLoc.Get(j); in operator() local 101 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
|
H A D | ComputePotentialMxN.h | 102 T yDist = yLoc.Get(iPartId) - yLoc.Get(j); in operator() local 104 T r = sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
|
H A D | ComputePotential.h | 109 T yDist = yLoc.Get(iId) - yLoc.Get(jId); in operator() local 111 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
|
/dports/graphics/qgis/qgis-3.22.3/src/core/mesh/ |
H A D | qgsmeshvectorrenderer.cpp | 160 double yDist = 0.0; in calcVectorLineEnd() local 174 yDist = sinAlpha * L; in calcVectorLineEnd() 181 yDist = scaleFactor * yVal; in calcVectorLineEnd() 190 yDist = sinAlpha * fixedShaftLength; in calcVectorLineEnd() 196 yDist *= -1.0; in calcVectorLineEnd() 198 if ( std::abs( xDist ) < 1 && std::abs( yDist ) < 1 ) in calcVectorLineEnd() 203 lineStart.y() + yDist ); in calcVectorLineEnd() 205 vectorLength = sqrt( xDist * xDist + yDist * yDist ); in calcVectorLineEnd()
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/mesh/ |
H A D | qgsmeshvectorrenderer.cpp | 160 double yDist = 0.0; in calcVectorLineEnd() local 174 yDist = sinAlpha * L; in calcVectorLineEnd() 181 yDist = scaleFactor * yVal; in calcVectorLineEnd() 190 yDist = sinAlpha * fixedShaftLength; in calcVectorLineEnd() 196 yDist *= -1.0; in calcVectorLineEnd() 198 if ( std::abs( xDist ) < 1 && std::abs( yDist ) < 1 ) in calcVectorLineEnd() 203 lineStart.y() + yDist ); in calcVectorLineEnd() 205 vectorLength = sqrt( xDist * xDist + yDist * yDist ); in calcVectorLineEnd()
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/worklet/cosmotools/ |
H A D | ComputePotentialNxN.h | 111 T yDist = yLoc.Get(i) - yLoc.Get(j); in operator() local 113 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
|
H A D | ComputePotentialOnCandidates.h | 111 T yDist = yLoc.Get(i) - yLoc.Get(j); in operator() local 113 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
|
H A D | ComputePotentialMxN.h | 114 T yDist = yLoc.Get(iPartId) - yLoc.Get(j); in operator() local 116 T r = sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
|
H A D | ComputePotential.h | 122 T yDist = yLoc.Get(iId) - yLoc.Get(jId); in operator() local 124 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/css/ |
H A D | CSSGradientValue.cpp | 787 float yDist = min(secondPoint.y(), size.height() - secondPoint.y()); in createGradient() local 789 float smaller = min(xDist, yDist); in createGradient() 791 yDist = smaller; in createGradient() 794 aspectRatio = xDist / yDist; in createGradient() 799 float yDist = max(secondPoint.y(), size.height() - secondPoint.y()); in createGradient() local 801 float larger = max(xDist, yDist); in createGradient() 803 yDist = larger; in createGradient() 806 aspectRatio = xDist / yDist; in createGradient() 818 float yDist = min(secondPoint.y(), size.height() - secondPoint.y()); in createGradient() local 821 aspectRatio = xDist / yDist; in createGradient() [all …]
|
/dports/net/mpich2/mpich2-1.5/src/mpe2/src/slog2sdk/src/base/topology/ |
H A D | PreviewEvent.java | 172 double xDist, yDist; 175 yDist = (pt_y - yCorner)/yHalfHeight - 1.0; 177 return (xDist*xDist + yDist*yDist) <= 1.0;
|
/dports/graphics/heimer/Heimer-3.0.0/src/unit_tests/layout_optimizer_test/ |
H A D | layout_optimizer_test.cpp | 64 std::uniform_real_distribution<double> yDist { -1000, 1000 }; in testMultipleNodes_NoEdges_ShouldSpread() local 70 node->setPos({ xDist(engine), yDist(engine) }); in testMultipleNodes_NoEdges_ShouldSpread() 98 std::uniform_real_distribution<double> yDist { -1000, 1000 }; in testMultipleNodes_ShouldReduceCost() local 104 node->setPos({ xDist(engine), yDist(engine) }); in testMultipleNodes_ShouldReduceCost()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/android/java/src/org/chromium/base/ |
H A D | MathUtils.java | 182 float yDist = y2 - y1; in distance() local 183 return (float) Math.sqrt(xDist * xDist + yDist * yDist); in distance()
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/base/android/java/src/org/chromium/base/ |
H A D | MathUtils.java | 182 float yDist = y2 - y1; in distance() local 183 return (float) Math.sqrt(xDist * xDist + yDist * yDist); in distance()
|
/dports/math/ogdf/OGDF/src/ogdf/basic/ |
H A D | NearestRectangleFinder.cpp | 280 double yDist = 0.0; in findSimple() local 282 yDist = bottom - p.m_y; in findSimple() 284 yDist = p.m_y - top; in findSimple() 285 OGDF_ASSERT(yDist >= 0); in findSimple() 287 double dist = xDist + yDist; in findSimple()
|