Lines Matching refs:sPt
243 Point3d sPt = densityKernel; in getNewValue() local
245 sPt.x *= std::exp(aPt.z); in getNewValue()
246 sPt.y *= std::exp(aPt.z); in getNewValue()
248 aPt.x /= sPt.x; in getNewValue()
249 aPt.y /= sPt.y; in getNewValue()
250 aPt.z /= sPt.z; in getNewValue()
252 bPt.x /= sPt.x; in getNewValue()
253 bPt.y /= sPt.y; in getNewValue()
254 bPt.z /= sPt.z; in getNewValue()
256 … double w = (weightsV[i])*std::exp(-((aPt-bPt).dot(aPt-bPt))/2)/std::sqrt(sPt.dot(Point3d(1,1,1))); in getNewValue()
260 ratPoint.x += w/sPt.x; in getNewValue()
261 ratPoint.y += w/sPt.y; in getNewValue()
262 ratPoint.z += w/sPt.z; in getNewValue()
276 Point3d sPt = densityKernel; in getResultWeight() local
278 sPt.x *= std::exp(aPt.z); in getResultWeight()
279 sPt.y *= std::exp(aPt.z); in getResultWeight()
283 aPt.x /= sPt.x; in getResultWeight()
284 aPt.y /= sPt.y; in getResultWeight()
285 aPt.z /= sPt.z; in getResultWeight()
287 sumW+=(weightsV[i])*std::exp(-(aPt.dot(aPt))/2)/std::sqrt(sPt.dot(Point3d(1,1,1))); in getResultWeight()