| 794 | |
| 795 | template <typename PointT> |
| 796 | inline void PatchWork<PointT>::pc2regionwise_patches(const pcl::PointCloud<PointT> &src, |
| 797 | RegionwisePatches &patches) { |
| 798 | std::for_each(src.points.begin(), src.points.end(), [&](const auto &pt) { |
| 799 | const auto &[ring_idx, sector_idx] = zone_model_.get_ring_sector_idx(pt.x, pt.y); |
| 800 | if (ring_idx != INVALID_RING_IDX && ring_idx != OVERFLOWED_IDX) { |
| 801 | patches[ring_idx][sector_idx].cloud_.points.emplace_back(pt); |
| 802 | } |
| 803 | }); |
| 804 | } |
| 805 | |
| 806 | // For adaptive |
| 807 | template <typename PointT> |
nothing calls this directly
no test coverage detected