[math-fun] generalization of 'trapezoid/trapezium' to 3D ?