Curvature is used directly in this function.