intersections.h File Reference
Module common
`#include <pcl/ModelCoefficients.h>`
`#include <pcl/common/common.h>`
`#include <pcl/common/distances.h>`
`#include <pcl/common/impl/intersections.hpp>`

Go to the source code of this file.

## Detailed Description

Define line with line intersection functions.

Definition in file intersections.h.

## Namespaces

| pcl

## Functions

PCL_EXPORTS bool | pcl::lineWithLineIntersection (const Eigen::VectorXf &line_a, const Eigen::VectorXf &line_b, Eigen::Vector4f &point, double sqr_eps=1e-4)
| Get the intersection of a two 3D lines in space as a 3D point. More...
PCL_EXPORTS bool | pcl::lineWithLineIntersection (const pcl::ModelCoefficients &line_a, const pcl::ModelCoefficients &line_b, Eigen::Vector4f &point, double sqr_eps=1e-4)
| Get the intersection of a two 3D lines in space as a 3D point. More...
template<typename Scalar >
PCL_EXPORTS bool | pcl::planeWithPlaneIntersection (const Eigen::Matrix< Scalar, 4, 1 > &plane_a, const Eigen::Matrix< Scalar, 4, 1 > &plane_b, Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > &line, double angular_tolerance=0.1)
| Determine the line of intersection of two non-parallel planes using lagrange multipliers. More...
PCL_EXPORTS bool | pcl::planeWithPlaneIntersection (const Eigen::Vector4f &plane_a, const Eigen::Vector4f &plane_b, Eigen::VectorXf &line, double angular_tolerance=0.1)
PCL_EXPORTS bool | pcl::planeWithPlaneIntersection (const Eigen::Vector4d &plane_a, const Eigen::Vector4d &plane_b, Eigen::VectorXd &line, double angular_tolerance=0.1)
template<typename Scalar >
PCL_EXPORTS bool | pcl::threePlanesIntersection (const Eigen::Matrix< Scalar, 4, 1 > &plane_a, const Eigen::Matrix< Scalar, 4, 1 > &plane_b, const Eigen::Matrix< Scalar, 4, 1 > &plane_c, Eigen::Matrix< Scalar, 3, 1 > &intersection_point, double determinant_tolerance=1e-6)
| Determine the point of intersection of three non-parallel planes by solving the equations. More...
PCL_EXPORTS bool | pcl::threePlanesIntersection (const Eigen::Vector4f &plane_a, const Eigen::Vector4f &plane_b, const Eigen::Vector4f &plane_c, Eigen::Vector3f &intersection_point, double determinant_tolerance=1e-6)
PCL_EXPORTS bool | pcl::threePlanesIntersection (const Eigen::Vector4d &plane_a, const Eigen::Vector4d &plane_b, const Eigen::Vector4d &plane_c, Eigen::Vector3d &intersection_point, double determinant_tolerance=1e-6)