Constructs a 3d object from bezier patch coordinates