Geometric properties of solutions of Hamilton-Jacobi equations