A geometrical-optics approach for the deflection of a floating flexible platform