MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / nearestKSearch

Method nearestKSearch

test/features/test_normal_estimation.cpp:326–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324{
325 public:
326 int nearestKSearch (const PointT &point, int k, pcl::Indices &k_indices,
327 std::vector<float> &k_sqr_distances ) const override
328 {
329 pcl::utils::ignore(point);
330
331 EXPECT_GE (k_indices.size(), k);
332 EXPECT_GE (k_sqr_distances.size(), k);
333
334 return k;
335 }
336
337 int radiusSearch (const PointT& point, double radius, pcl::Indices& k_indices,
338 std::vector<float>& k_sqr_distances, unsigned int max_nn = 0 ) const override

Callers 15

computeFunction · 0.45
computeFunction · 0.45
pp_callbackFunction · 0.45
computeRmsEFunction · 0.45
mainFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
testKNNSearchFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 2

ignoreFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected