Calculate coordinate in 3D triangle.

  • Context: Undergrad 
  • Thread starter Thread starter pjhphysics
  • Start date Start date
  • Tags Tags
    3d Coordinate Triangle
Click For Summary
SUMMARY

The discussion focuses on calculating the y-coordinate of a point D in relation to a triangle defined by vertices A, B, and C in three-dimensional space. The solution involves establishing the plane equation of the triangle, represented as ax + by + cz + d = 0. By substituting the known x and z values of point D into this equation, one can solve for the unknown y-coordinate. This method provides an efficient way to determine the position of point D on the plane of triangle ABC.

PREREQUISITES
  • Understanding of 3D coordinate systems
  • Familiarity with plane equations in geometry
  • Basic algebra for solving equations
  • Knowledge of vector mathematics
NEXT STEPS
  • Study the derivation of the plane equation from triangle vertices in 3D space
  • Learn about vector cross products for determining normal vectors
  • Explore applications of plane equations in computer graphics
  • Investigate methods for intersection tests between points and planes
USEFUL FOR

Mathematicians, computer graphics developers, and engineers working with 3D modeling or simulations who need to calculate spatial relationships in three-dimensional environments.

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
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 37 ·
2
Replies
37
Views
7K
  • · Replies 7 ·
Replies
7
Views
4K