Flood Risk Analysis on Terrains