Normal Struct Reference

Angular distance between normals. More...

#include <VisionX/libraries/PointCloudGraph/edge_weight_computer_terms.h>

Public Types

typedef pcl::traits::has_normal< boost::mpl::_1 > is_compatible
 

Static Public Member Functions

template<typename PointT>
static float compute (const PointT &p1, const PointT &p2)
 

Detailed Description

Angular distance between normals.

\[    d_{normal}(v_i,v_j) = \frac{||n_i-n_j||^2}{2}
\]

Requires that the point type has normal_x, normal_y, and normal_z fields.

Author
Sergey Alexandrov

Definition at line 80 of file edge_weight_computer_terms.h.

Member Typedef Documentation

◆ is_compatible

typedef pcl::traits::has_normal<boost::mpl::_1> is_compatible

Definition at line 82 of file edge_weight_computer_terms.h.

Member Function Documentation

◆ compute()

template<typename PointT>
static float compute ( const PointT & p1,
const PointT & p2 )
inlinestatic

Definition at line 85 of file edge_weight_computer_terms.h.


The documentation for this struct was generated from the following file: