I have 2 points
A = [1,2,3]
B = [4,5,6]
a vector is generated AB = B - A
Also, i have a plane ax+by+cz = d
How can i get points of projection of vector AB onto the Plane?

답변 (2개)

KSSV
KSSV 2020년 6월 7일
편집: Rik 2025년 6월 3일

1 개 추천

Refer here: http://www.nabla.hr/CG-LinesPlanesIn3DB5.htm
Edit @Rik (2025-06-03): apparently the website has changed to something dodgy. Luckily, there is a capture to the Wayback Machine for this page around the time of this post: http://web.archive.org/web/20200528103000/http://www.nabla.hr/CG-LinesPlanesIn3DB5.htm

댓글 수: 4

keshav gupta
keshav gupta 2020년 6월 10일
i am having problem doing it in matlab as i am a new user
KSSV
KSSV 2020년 6월 10일
A, B are 2D points....we need 3D points right?
keshav gupta
keshav gupta 2020년 6월 10일
yes, corrected
Walter Roberson
Walter Roberson 2025년 5월 11일
I am not at all sure, but possibly the replacement document is https://www.scribd.com/document/77209019/Chapter-17-I-Lines-Planes-in-3D-ENRICH -- which requires an account to download.

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

darova
darova 2020년 6월 12일
편집: darova 2020년 6월 12일

1 개 추천

Here is the idea:
  • is your normal vector of a plane (ax + by + cz = d). . normalize it so
  • create new vector such that:

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

질문:

2020년 6월 7일

편집:

Rik
2025년 6월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by