MCPcopy Create free account
hub / github.com/Pamphlett/Outram / ds_point_cloud

Function ds_point_cloud

examples/global_localization.cpp:1029–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029void ds_point_cloud(pcl::PointCloud<PointType>::Ptr &pc_in,
1030 pcl::PointCloud<PointType>::Ptr &pc_out) {
1031 int N = std::min(int(pc_in->points.size()), 3);
1032 for (int index = 0; index < N; index++) {
1033 pc_out->points.push_back(pc_in->points[index]);
1034 }
1035}

Callers 1

mainFunction · 0.85

Calls 2

sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected