Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Devika Waghela
Devika Waghela le 8 Mar 2021
Commenté : Matt J le 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.

Réponses (1)

Matt J
Matt J le 8 Mar 2021
Modifié(e) : Matt J le 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.
  4 commentaires
Devika Waghela
Devika Waghela le 9 Mar 2021
Is this used specifically for this problem statement? Or can this be used even for different points and different ranges for z?
Matt J
Matt J le 10 Mar 2021
Only this problem.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by