distance between 2 no-parallel planes

5 vues (au cours des 30 derniers jours)
bayrem daghrour
bayrem daghrour le 22 Juil 2019
Commenté : darova le 24 Juil 2019
I want to calculate the distance between 2 non-paralle.
I know the equation of two palnes
other:
i have a .obj file that contains the 2 plane cloud and i want to calculate the distance between them
  5 commentaires
Matt J
Matt J le 23 Juil 2019
i have a .obj file that contains the 2 plane cloud and i want to calculate the distance between them.
Fine, but what about the solutions that you've been given? Do you plan to address them, and explain why they are or are not what you want?
Catalytic
Catalytic le 23 Juil 2019
@bayrem,
The code you have posted does not address any of the requests for clarification you have been asked for. All it shows is how you generated your data. It does not explain why the Answers below don't fulfill what you want.

Connectez-vous pour commenter.

Réponse acceptée

darova
darova le 23 Juil 2019
Use this simple drawing to achieve your goal
Untitled.png
  3 commentaires
darova
darova le 23 Juil 2019
What about point-plane distance formula?
darova
darova le 24 Juil 2019
Accept my answer please

Connectez-vous pour commenter.

Plus de réponses (1)

Matt J
Matt J le 22 Juil 2019
Modifié(e) : Matt J le 22 Juil 2019
If you mean that you want the minimum separation between the planes over some bounded (X,Y) rectangle, then just check the separation distance at the 4 corners of the rectangle. The minimum separation will be attained at one of the corners, EDIT: assuming (as in your plots) that the planes don't intersect within the rectangle. If they do intersect, you can detect that, too, by seeing if there is a sign change in the separation among any of the 4 corners.
  1 commentaire
John D'Errico
John D'Errico le 22 Juil 2019
Or maybe the average distance over some restricted domain?

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by