distance between 2 no-parallel planes

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 件のコメント

John D'Errico
John D'Errico 2019 年 7 月 22 日
Sorry, but this question is meaningless. If the planes are not parallel, then at some point, the distance is ZERO. And you can find points where the distance between the planes is as large as ytou want, approaching infinitely large. These are facts about ANY pair of non-pzrallel planes. So it makes no sense at all to ask a question about the distance between two such planes. It can be anything you want it to be.
If you want help, then you need to be more clear about what you are looking for, since your question makes no sense.
bayrem daghrour
bayrem daghrour 2019 年 7 月 23 日
i have a .obj file that contains the 2 plane cloud and i want to calculate the distance between them.
mat.png
Walter Roberson
Walter Roberson 2019 年 7 月 23 日
Apparently continues in https://www.mathworks.com/matlabcentral/answers/472976-i-want-to-calculate-the-distance-betwee
Matt J
Matt J 2019 年 7 月 23 日
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 2019 年 7 月 23 日
@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.

サインインしてコメントする。

 採用された回答

darova
darova 2019 年 7 月 23 日

0 投票

Use this simple drawing to achieve your goal
Untitled.png

3 件のコメント

bayrem daghrour
bayrem daghrour 2019 年 7 月 23 日
is there a code in matlab or vedio tutorial to do that
darova
darova 2019 年 7 月 23 日
What about point-plane distance formula?
darova
darova 2019 年 7 月 24 日
Accept my answer please

サインインしてコメントする。

その他の回答 (1 件)

Matt J
Matt J 2019 年 7 月 22 日
編集済み: Matt J 2019 年 7 月 22 日

0 投票

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 件のコメント

John D'Errico
John D'Errico 2019 年 7 月 22 日
Or maybe the average distance over some restricted domain?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeEvent Functions についてさらに検索

質問済み:

2019 年 7 月 22 日

コメント済み:

2019 年 7 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by