Vector projection on a Plane

23 views (last 30 days)
keshav gupta
keshav gupta on 7 Jun 2020
Edited: Rik on 3 Jun 2025
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?

Answers (2)

KSSV
KSSV on 7 Jun 2020
Edited: Rik on 3 Jun 2025
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 Comments
keshav gupta
keshav gupta on 10 Jun 2020
yes, corrected
Walter Roberson
Walter Roberson on 11 May 2025
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.

Sign in to comment.


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

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!