home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!news.smith.edu!orourke
- From: orourke@sophia.smith.edu (Joseph O'Rourke)
- Subject: Re: Projecting a vector onto a plane
- Message-ID: <1992Dec17.161552.7160@sophia.smith.edu>
- Organization: Smith College, Northampton, MA, US
- References: <1992Dec17.150409.13943@bert.eecs.uic.edu>
- Date: Thu, 17 Dec 1992 16:15:52 GMT
- Lines: 10
-
- In article <1992Dec17.150409.13943@bert.eecs.uic.edu> barnes@bert.eecs.uic.edu (Craig Barnes) writes:
- >
- >How do I project an arbitrary
- >vector on to a plane defined by two other vectors?
-
- Call the arbitrary vector V, and the two vectors in the plane A and B.
- Here is one method. Compute a normal N to the plane by crossing
- A and B: N = A x B. Make this a unit normal n. Project V onto this
- normal with the dot product: d = V . n. Now your unknown vector U
- plus (d n) must give V. So U = V - d n.
-