Gaussian curvature
The equality is attained precisely when the metric has constant Gaussian curvature.