How a surface measures its own bending.
On f(u,v) = (u, v, h), the tangent vectors f_u = ∂f/∂u and f_v = ∂f/∂v span the tangent plane, and m = (f_u × f_v)/‖f_u × f_v‖ is the unit normal.
First form: E = f_u·f_u, F = f_u·f_v, G = f_v·f_v (lengths, angles). Second form: e = f_uu·m, f = f_uv·m, g = f_vv·m (bending).
K = (eg − f²)/(EG − F²): K > 0 on the cap of the bump, K < 0 on its saddle-like flanks.