Searched refs:closestDistSq (Results 1 - 3 of 3) sorted by relevance

/external/opencv3/modules/flann/include/opencv2/flann/
H A Dhierarchical_clustering_index.h205 DistanceType* closestDistSq = new DistanceType[n]; local
207 // Choose one random center and set the closestDistSq values
215 closestDistSq[i] = distance(dataset[dsindices[i]], dataset[dsindices[index]], dataset.cols);
216 closestDistSq[i] = ensureSquareDistance<Distance>( closestDistSq[i] );
217 currentPot += closestDistSq[i];
236 if (randVal <= closestDistSq[index]) break;
237 else randVal -= closestDistSq[index];
244 newPot += std::min( ensureSquareDistance<Distance>(dist), closestDistSq[i] );
259 closestDistSq[
292 DistanceType* closestDistSq = new DistanceType[n]; local
[all...]
H A Dkmeans_index.h204 DistanceType* closestDistSq = new DistanceType[n]; local
206 // Choose one random center and set the closestDistSq values
212 closestDistSq[i] = distance_(dataset_[indices[i]], dataset_[indices[index]], dataset_.cols);
213 closestDistSq[i] = ensureSquareDistance<Distance>( closestDistSq[i] );
214 currentPot += closestDistSq[i];
233 if (randVal <= closestDistSq[index]) break;
234 else randVal -= closestDistSq[index];
241 newPot += std::min( ensureSquareDistance<Distance>(dist), closestDistSq[i] );
256 closestDistSq[
[all...]
/external/skia/src/pathops/
H A DSkOpSegment.cpp591 double closestDistSq = SK_ScalarInfinity; local
597 if (closestDistSq > testDistSq) {
598 closestDistSq = testDistSq;
601 return closestDistSq;

Completed in 219 milliseconds