Visual Diffusion Models are Geometric Solvers