| 1027 | } |
| 1028 | |
| 1029 | void 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 | } |