9 #ifndef IMPEXAMPLE_COUNTING_H
10 #define IMPEXAMPLE_COUNTING_H
12 #include <IMP/example/example_config.h>
17 IMPEXAMPLE_BEGIN_NAMESPACE
25 const ParticlesTemp &psb,
26 double point_distance) {
28 for (
unsigned int i=0; i< vsa.size(); ++i) {
31 IMP_NEW(algebra::NearestNeighbor3D, nn, (vsa));
33 for (
unsigned int i=0; i< psb.size(); ++i) {
35 if (!nn->get_in_ball(v,point_distance).empty()) {
42 IMPEXAMPLE_END_NAMESPACE