Struct Neighbor

Struct Documentation

struct Neighbor

One result of a nearest-neighbor search.

Public Members

std::size_t idx_ = 0

Index of the point in the tree’s (reordered) KDTreeData

double dist2_ = 0.0

Squared distance from the search point