Barycentric coordinates for 5-sided polytope of two triangles and three trapezoids
I think I can do this using trilinear interpolation and treating two vertices on each side as merged and using my own volume calculations. I just need to interpolate some values given by the three points and a z. http://bmia.bmt.tue.nl/People/BRomeny/Courses/8C080/Interpolation.pdf