27 #ifndef MPBLOCKS_DUBINS_KD_TREE_NEAREST_H_
28 #define MPBLOCKS_DUBINS_KD_TREE_NEAREST_H_
36 template <
typename Scalar>
45 typedef Eigen::Matrix<Scalar,3,1>
Point;
87 #endif // NEARESTNEIGHBOR_H_
virtual bool shouldRecurse(const Point &q, const HyperRect_t &r)
evaluate the Euclidean distance from q to it's closest point in r and if that distance is less than t...
virtual void evaluate(const Point &q, const Point &p, Node_t *n)
calculates Euclidean distance from q to p, and if its less than the current best replaces the current...
Traits< Scalar >::Node Node_t
Interface for nearest node type searches.
Traits< Scalar >::HyperRect HyperRect_t
Eigen::Matrix< Scalar, 3, 1 > Point
Distance< Scalar > Distance_t