16 template <
typename ItA,
typename ItB>
18 ItA b_a, ItA e_a, ItB b_b, ItB e_b,
double min_spacing) {
19 for (
auto a = b_a; a != e_a; ++a) {
20 for (
auto b = b_b; b != e_b; ++b) {
21 if (distance(*a, *b) <= min_spacing) {
29 template <
typename It,
typename Voxelised>
30 bool are_all_inside(It b, It e,
const Voxelised& voxelised) {
32 b, e, [&](
const auto& pos) {
return inside(voxelised, pos); });
bool is_pairwise_distance_acceptable(ItA b_a, ItA e_a, ItB b_b, ItB e_b, double min_spacing)
Definition: validate_placements.h:17
Definition: capsule_base.h:9