cheshirekow  v0.1.0
mpblocks::dubins::kd_tree::Distance< Format > Class Template Reference

provides r2_s1 distance computation More...

#include <mpblocks/dubins/kd_tree/Distance.h>

Public Types

typedef Traits< Format >::HyperRect Hyper_t
 
typedef Eigen::Matrix< Format, 3, 1 > State_t
 

Public Member Functions

 Distance (Format radius=1)
 
Format operator() (const State_t &pa, const State_t &pb)
 return the dubins shortest path distance from point a to point b More...
 
Format operator() (const State_t &p, const Hyper_t &h)
 return the dubins shortest path distance from a point to a dubins state box More...
 
void set_radius (Format radius)
 

Private Attributes

Format m_radius
 

Detailed Description

template<typename Format>
class mpblocks::dubins::kd_tree::Distance< Format >

provides r2_s1 distance computation

Definition at line 38 of file Distance.h.

Member Typedef Documentation

template<typename Format>
typedef Traits<Format>::HyperRect mpblocks::dubins::kd_tree::Distance< Format >::Hyper_t

Definition at line 41 of file Distance.h.

template<typename Format>
typedef Eigen::Matrix<Format,3,1> mpblocks::dubins::kd_tree::Distance< Format >::State_t

Definition at line 42 of file Distance.h.

Constructor & Destructor Documentation

template<typename Format>
mpblocks::dubins::kd_tree::Distance< Format >::Distance ( Format  radius = 1)
inline

Definition at line 48 of file Distance.h.

Member Function Documentation

template<typename Format >
Format mpblocks::dubins::kd_tree::Distance< Format >::operator() ( const State_t pa,
const State_t pb 
)

return the dubins shortest path distance from point a to point b

Definition at line 38 of file Distance.hpp.

template<typename Format >
Format mpblocks::dubins::kd_tree::Distance< Format >::operator() ( const State_t p,
const Hyper_t h 
)

return the dubins shortest path distance from a point to a dubins state box

Definition at line 46 of file Distance.hpp.

template<typename Format>
void mpblocks::dubins::kd_tree::Distance< Format >::set_radius ( Format  radius)
inline

Definition at line 50 of file Distance.h.

Member Data Documentation

template<typename Format>
Format mpblocks::dubins::kd_tree::Distance< Format >::m_radius
private

Definition at line 45 of file Distance.h.


The documentation for this class was generated from the following files: