Calculate coordinate in 3D triangle.

  • Thread starter pjhphysics
  • Start date
  • #1
16
0
Hi,
I'm looking for an efficient way of achieving the following, but having trouble thinking it through:

Let's say I have a triangle in three dimensions with vertices A, B and C.
Let's say I also have a three dimensional coordinate D. I know the x and z component values for D and I am trying to find the y value such that the point resides on the plane of triangle ABC.

What would be a good way of doing that?

Thanks!
 

Answers and Replies

  • #2
20
0
You could set up the plane equation

[tex]ax + by +cz + d = 0[/tex]

of the plane containing the triangle ABC, insert the known (x, z) coordinates of your point D and solve for y
 
  • #3
16
0
That does it. Thanks a ton
 

Related Threads on Calculate coordinate in 3D triangle.

  • Last Post
Replies
2
Views
2K
Replies
11
Views
3K
Replies
3
Views
3K
Replies
6
Views
1K
  • Last Post
Replies
7
Views
2K
Replies
8
Views
4K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
5
Views
2K
  • Last Post
Replies
0
Views
3K
Top