필터 지우기
필터 지우기

How to find the line of intersection between the following two planes and plot the intersected line on the same two planes?

조회 수: 32 (최근 30일)
How to find the line of intersection between the following two planes and plot the intersected line on the same two planes?
The following points contain the following points:
The first plane:
P1 = 177668442.453315 -102576923.076923 0
P2 = -102576923.076923 177668442.453315 -102576923.076923
P3= 0 -102576923.076923 88834221.2266576
The secod Plane:
P1= 152763459.308716 -102576923.076923 0
P2= -102576923.076923 183536536.231793 -102576923.076923
P3= 0 -102576923.076923 91768268.1158967
  댓글 수: 1
Torsten
Torsten 2023년 2월 2일
편집: Torsten 2023년 2월 2일
Quite large, your point coordinates. You might want to scale in x,y and z direction by a factor of 1/100000000.

댓글을 달려면 로그인하십시오.

채택된 답변

Matt J
Matt J 2023년 2월 2일
편집: Matt J 2023년 2월 2일
You can get the line of intersection in Dual Plucker Matrix form as follows:
A=null([[P11;P21;P31],ones(3,1)]); %plane 1
B=null([[P12;P22;P32],ones(3,1)]); %plane 2
L=A*B.' - B*A.'; %line of intersection
However, for this to work well, you must re-express your P data in larger units, as Torsten suggests.
  댓글 수: 25
M
M 2024년 7월 15일 11:42
편집: M 2024년 7월 15일 11:43
@Matt J Thanks for your reply.
Becase the plot box has 12 edges, but the planes only intersect 6 of them.
Regarding this, Is there a way to control the vertices? for example to have only 4 vertices in the plot? or that will affect the meaning or so ? I need the plots only for visualization purposes in my research, having 6 vertices looks weird

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete Data Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by