Line intersection [closed]

asked 2019-11-30 11:51:09 -0600

asbird gravatar image

In my code I am clustering a cloud into many clusters, for each cluster I extract all of the lines. My question is: how can I calculate intersection of two lines when for each line I've got these parameters:

point_on_line.x : the X coordinate of a point on the line
point_on_line.y : the Y coordinate of a point on the line
point_on_line.z : the Z coordinate of a point on the line
line_direction.x : the X coordinate of a line's direction
line_direction.y : the Y coordinate of a line's direction
line_direction.z : the Z coordinate of a line's direction
edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by gvdhoorn
close date 2019-11-30 12:33:37.299202

Comments

I'm sorry, but this is not a ROS question. With over 48000 questions, we must try to stay on-topic as much as possible.

For more generic (math) questions, I'd suggest posting on Stack Exchange or similar fora.

gvdhoorn gravatar imagegvdhoorn ( 2019-11-30 12:34:25 -0600 )edit