How to find intersection between a line (given by 2 points) and a plane?
1 view (last 30 days)
Show older comments
Devika Waghela on 8 Mar 2021
Commented: Matt J on 10 Mar 2021
So I have a plane z = 0 to 1 (at increments of 0.2). I have two points A = (1,0,0) and B = (0,0,1). I need to find the points of intersection of the line and the plane at each value of z.
Matt J on 8 Mar 2021
Edited: Matt J on 8 Mar 2021
Since A and B both lie in the plane z=0, clearly the entire line segment will intersect the plane at z=0 and will not intersect for any other z.
Find more on Elementary Polygons in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!