Radius neighbor search result container.
More...
#include <knn_result.hpp>
|
| | RadiusSearchResult (const IndexTransform &index_transform=IndexTransform()) |
| | Constructor.
|
| |
|
size_t | num_found () const |
| | Number of found neighbors.
|
| |
|
constexpr double | worst_distance () const |
| | Worst distance in the result.
|
| |
|
void | sort () |
| | Sort neighbors by distance.
|
| |
|
void | push (size_t index, double distance) |
| | Push a pair of point index and distance to the result.
|
| |
|
|
const IndexTransform & | index_transform |
| |
|
std::vector< std::pair< size_t, double > > | neighbors |
| | Pairs of point index and distance.
|
| |
template<typename IndexTransform = identity_transform>
struct gtsam_points::RadiusSearchResult< IndexTransform >
Radius neighbor search result container.
◆ RadiusSearchResult()
template<typename IndexTransform = identity_transform>
Constructor.
- Parameters
-
| index_transform | Index transformation function (e.g., local point index -> global voxel + point index) |
The documentation for this struct was generated from the following file:
- /home/runner/work/gtsam_points/gtsam_points/include/gtsam_points/ann/knn_result.hpp