triangulation of x y z