当前位置:网站首页>Intersection calculation of straight line and plane in PCL point cloud processing (53)

Intersection calculation of straight line and plane in PCL point cloud processing (53)

2022-04-23 20:10:00 Point cloud apprentice

PCL Calculation of intersection between line and plane in point cloud processing ( Fifty-three )

One 、 It is known that

A point on the line :(a,b,c)
Line direction vector :(d,e,f)
A little flat :(l,m,n)
Plane normal vector :(i,j,k)

Two 、 To be asked

First step : Guarantee (i* d+ j* e+ k* f) It's not equal to 0, That is, the straight line is not parallel to the plane , The intersection

if(  (i* d+ j* e+ k* f) == 0   )
{ 
    

版权声明
本文为[Point cloud apprentice]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204232009096469.html

随机推荐