|
|
Squared Euclidean distance between points. More...
#include <VisionX/libraries/PointCloudGraph/edge_weight_computer_terms.h>
Public Types | |
| typedef pcl::traits::has_xyz< boost::mpl::_1 > | is_compatible |
Static Public Member Functions | |
| template<typename PointT> | |
| static float | compute (const PointT &p1, const PointT &p2) |
Squared Euclidean distance between points.
![\[ d_{xyz}(v_i,v_j) = ||p_i-p_j||^2
\]](../../form_30.png)
Requires that the point type has x, y, and z fields.
| typedef pcl::traits::has_xyz<boost::mpl::_1> is_compatible |
|
inlinestatic |