Home
last modified time | relevance | path

Searched refs:zDist (Results 1 – 24 of 24) sorted by relevance

/dports/audio/libnoise/noise/src/module/
H A Dvoronoi.cpp69 double zDist = zPos - z; in GetValue() local
70 double dist = xDist * xDist + yDist * yDist + zDist * zDist; in GetValue()
89 double zDist = zCandidate - z; in GetValue() local
90 value = (sqrt (xDist * xDist + yDist * yDist + zDist * zDist) in GetValue()
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/worklet/cosmotools/
H A DComputePotentialNxN.h100 T zDist = zLoc.Get(i) - zLoc.Get(j); in operator() local
101 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
H A DComputePotentialOnCandidates.h100 T zDist = zLoc.Get(i) - zLoc.Get(j); in operator() local
101 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
H A DComputePotentialMxN.h103 T zDist = zLoc.Get(iPartId) - zLoc.Get(j); in operator() local
104 T r = sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
H A DComputePotential.h110 T zDist = zLoc.Get(iId) - zLoc.Get(jId); in operator() local
111 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
H A DMarkActiveNeighbors.h135 T zDist = iloc[2] - jloc[2]; in operator() local
138 if ((xDist * xDist + yDist * yDist + zDist * zDist) <= linkLenSq) in operator()
H A DGraftParticles.h138 T zDist = iloc[2] - jloc[2]; in operator() local
139 if ((xDist * xDist + yDist * yDist + zDist * zDist) <= linkLenSq) in operator()
H A DComputePotentialNeighbors.h133 T zDist = zLoc.Get(iId) - zLoc.Get(jId); in operator() local
134 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/worklet/cosmotools/
H A DComputePotentialNxN.h112 T zDist = zLoc.Get(i) - zLoc.Get(j); in operator() local
113 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
H A DComputePotentialOnCandidates.h112 T zDist = zLoc.Get(i) - zLoc.Get(j); in operator() local
113 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
H A DComputePotentialMxN.h115 T zDist = zLoc.Get(iPartId) - zLoc.Get(j); in operator() local
116 T r = sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
H A DComputePotential.h123 T zDist = zLoc.Get(iId) - zLoc.Get(jId); in operator() local
124 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
H A DComputePotentialNeighbors.h146 T zDist = zLoc.Get(iId) - zLoc.Get(jId); in operator() local
147 T r = vtkm::Sqrt((xDist * xDist) + (yDist * yDist) + (zDist * zDist)); in operator()
H A DMarkActiveNeighbors.h145 T zDist = iloc[2] - jloc[2]; in operator() local
148 if ((xDist * xDist + yDist * yDist + zDist * zDist) <= linkLenSq) in operator()
H A DGraftParticles.h148 T zDist = iloc[2] - jloc[2]; in operator() local
149 if ((xDist * xDist + yDist * yDist + zDist * zDist) <= linkLenSq) in operator()
/dports/astro/py-ro/RO-3.6.9/python/RO/Astro/Cnv/
H A DObserverData.py38 … polarDist, zDist = llv.geoc (self.latitude * RO.PhysConst.RadPerDeg, self.elevation * 1000.0)
43 self.p = numpy.array((polarDist, 0.0, zDist))
/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/
H A DProjectile.cpp284 int zDist = abs(origin.z - target->z); in applyAccuracy() local
292 if (xyShift <= zDist) //slight z deviation in applyAccuracy()
293 zShift = xyShift / 2 + zDist; in applyAccuracy()
295 zShift = xyShift + zDist / 2; in applyAccuracy()
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dpath.cpp1554 zDist, in initialize() local
1577 cost = dist + zDist; in initialize()
2096 zDist, in setCenter() local
2106 zDist = ABS(targetDelta.z); in setCenter()
2172 zDist, in evaluateMove() local
2180 zDist = ABS(targetDelta.z); in evaluateMove()
2223 zDist; in setCenter() local
2233 centerCost = dist + zDist; in setCenter()
2272 zDist; in evaluateMove() local
2774 zDist, in checkPath() local
[all …]
/dports/games/armagetronad/armagetronad-0.2.8.3.5/src/engine/
H A DeDisplay.cpp211 REAL zDist = ::z - wall->Height(); in AdaptZNear() local
212 if ( zDist < zNear ) in AdaptZNear()
233 if ( dist < zDist ) in AdaptZNear()
235 dist = zDist; in AdaptZNear()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/include/pcl/surface/impl/
H A Dtexture_mapping.hpp642 std::vector<double> zDist; in showOcclusions() local
670 zDist.push_back (std::fabs ((*input_cloud)[index].z - pt.z)); in showOcclusions()
683 if (zDist.size () >= 2) in showOcclusions()
685 std::sort (zDist.begin (), zDist.end ()); in showOcclusions()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/
H A Dactor.cpp894 float zDist = _position.z + view->_cameraPosition.y; // y<->z is intentional, not a bug in distanceFromView() local
895 return sqrt(xDist * xDist + zDist * zDist); in distanceFromView()
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/
H A Dactor.cpp1041 float zDist = _position.z + view->_cameraPosition.y; // y<->z is intentional, not a bug in distanceFromView() local
1042 return sqrt(xDist * xDist + zDist * zDist); in distanceFromView()
/dports/graphics/ogre3d/ogre-1.11.6/Components/Terrain/src/
H A DOgreTerrain.cpp2434 Real zDist = Math::RealEqual(rayDirection.z, 0.0) ? dummyHighValue : in rayIntersects() local
2436 if (xDist < zDist) in rayIntersects()
2444 cur += rayDirection * zDist; in rayIntersects()
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Terrain/src/
H A DOgreTerrain.cpp2419 Real zDist = Math::RealEqual(rayDirection.z, 0.0) ? dummyHighValue : in rayIntersects() local
2421 if (xDist < zDist) in rayIntersects()
2429 cur += rayDirection * zDist; in rayIntersects()