struct nanoflann::SearchParams

Search options for KDTreeSingleIndexAdaptor::findNeighbors()

#include <nanoflann.hpp>

struct SearchParams
{
    //
fields

    int checks;
    float eps;
    bool sorted;

    // construction

    SearchParams(int checks_IGNORED_ = 32, float eps_ = 0, bool sorted_ = true);
};

Fields

int checks

Ignored parameter (Kept for compatibility with the FLANN interface).

float eps

search for eps-approximate neighbours (default: 0)

bool sorted

only for radius search, require neighbours sorted by distance (default: true)

Construction

SearchParams(int checks_IGNORED_ = 32, float eps_ = 0, bool sorted_ = true)

Note: The first argument (checks_IGNORED_) is ignored, but kept for compatibility with the FLANN interface.