Critical points and surface curvatures