For points in the plane or on an algebraic curve, the notion of general position is made algebraically precise by the notion of a regular divisor, and is measured by the vanishing of the higher sheaf cohomology groups of the associated line bundle (formally, invertible sheaf). As the terminology reflects, this is significantly more technical than the intuitive geometric picture, similar to how a formal definition of intersection number requires sophisticated algebra. This definition generalizes in higher dimensions to hypersurfaces (codimension 1 subvarieties), rather than to sets of points, and regular divisors are contrasted with superabundant divisors, as discussed in the Riemann–Roch theorem for surfaces.