I have a tetrahedron defined by 4 points xi,yi,zi (i = 1 to 4)
To check if an arbitrary point x0,y0,z0 is inside the tetrahedron, I am taking the volume route i.e. I replace one of the points by x0,y0,z0 and obtain the volume of the tetrahedron. I say that if all the 4 computed volumes turn out to be positive, then it lies with in the tetrahedron. Is there a better way of doing this ?
Details of calculation here
To know if a point is inside a tetrahedron the best/more robust way is computing on which side of each of the 4 planes is, and compare that to a point that is know to be inside.
Step by step:
ax+by+cz+d=0
. (i.e. compute a,b,c,d from the points).