How to find intersection between a line (given by 2 points) and a plane?

2 次查看(过去 30 天)
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.

回答(1 个)

Matt J
Matt J 2021-3-8
编辑:Matt J 2021-3-8
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.
  4 个评论
Devika Waghela
Devika Waghela 2021-3-9
Is this used specifically for this problem statement? Or can this be used even for different points and different ranges for z?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by