Suppose I know the coordinates $(x,y,z)$ for three vertices of a triangle and the x and y coordinates of a fourth point within the triangle. How do I calculate the $z$ for that fourth point?
I've seen a couple other questions with answers but they did not clear anything up for me, such as this one: Triangle in 3D space point X and Y coordinate know find Z
A little clarification would be very appreciated, thank you.