Namespaces | Functions

distances.h File Reference

#include <pcl/common/common.h>
Include dependency graph for distances.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Detailed Description

Define standard C methods to do distance calculations.

Definition in file distances.h.

Namespaces

namespace  pcl

Functions

PCL_EXPORTS void pcl::lineToLineSegment (const Eigen::VectorXf &line_a, const Eigen::VectorXf &line_b, Eigen::Vector4f &pt1_seg, Eigen::Vector4f &pt2_seg)
 Get the shortest 3D segment between two 3D lines.
double pcl::sqrPointToLineDistance (const Eigen::Vector4f &pt, const Eigen::Vector4f &line_pt, const Eigen::Vector4f &line_dir)
 Get the square distance from a point to a line (represented by a point and a direction).
double pcl::sqrPointToLineDistance (const Eigen::Vector4f &pt, const Eigen::Vector4f &line_pt, const Eigen::Vector4f &line_dir, const double sqr_length)
 Get the square distance from a point to a line (represented by a point and a direction).