Calculate coordinate in 3D triangle.

pjhphysics
Messages
16
Reaction score
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!
 
Physics news on Phys.org
You could set up the plane equation

ax + by +cz + d = 0

of the plane containing the triangle ABC, insert the known (x, z) coordinates of your point D and solve for y
 
That does it. Thanks a ton
 
Hello! There is a simple line in the textbook. If ##S## is a manifold, an injectively immersed submanifold ##M## of ##S## is embedded if and only if ##M## is locally closed in ##S##. Recall the definition. M is locally closed if for each point ##x\in M## there open ##U\subset S## such that ##M\cap U## is closed in ##U##. Embedding to injective immesion is simple. The opposite direction is hard. Suppose I have ##N## as source manifold and ##f:N\rightarrow S## is the injective...
Back
Top