|
35 | 35 | .def( "point", &NNSearch##dimension##D::point ) \ |
36 | 36 | .def( "closest_neighbor", &NNSearch##dimension##D::closest_neighbor ) \ |
37 | 37 | .def( "radius_neighbors", &NNSearch##dimension##D::radius_neighbors ) \ |
| 38 | + .def( "frame_neighbors", &NNSearch##dimension##D::frame_neighbors ) \ |
38 | 39 | .def( "neighbors", &NNSearch##dimension##D::neighbors ) \ |
39 | | - .def( "colocated_index_mapping", \ |
40 | | - &NNSearch##dimension##D::colocated_index_mapping ); \ |
| 40 | + .def( "radius_colocated_index_mapping", \ |
| 41 | + static_cast< NNSearch##dimension##D::ColocatedInfo ( \ |
| 42 | + NNSearch##dimension##D::* )( const double ) const >( \ |
| 43 | + &NNSearch##dimension##D::colocated_index_mapping ) ) \ |
| 44 | + .def( "frame_colocated_index_mapping", \ |
| 45 | + static_cast< NNSearch##dimension##D::ColocatedInfo ( \ |
| 46 | + NNSearch##dimension##D::* )( const Frame##dimension##D& ) \ |
| 47 | + const >( \ |
| 48 | + &NNSearch##dimension##D::colocated_index_mapping ) ); \ |
41 | 49 | \ |
42 | 50 | const auto info##dimension = \ |
43 | 51 | "ColocatedInfo" + std::to_string( dimension ) + "D"; \ |
|
50 | 58 | .def( "nb_unique_points", \ |
51 | 59 | &NNSearch##dimension##D::ColocatedInfo::nb_unique_points ) \ |
52 | 60 | .def( "nb_colocated_points", \ |
53 | | - &NNSearch##dimension##D::ColocatedInfo::nb_colocated_points ) |
| 61 | + &NNSearch##dimension##D::ColocatedInfo::nb_colocated_points ); |
54 | 62 |
|
55 | 63 | namespace geode |
56 | 64 | { |
|
0 commit comments