Map edge paths in a non-positive quadrangulation to their canonical geodesics.
For pairs of such canonical geodesics, determine which of the intersection intervals are essential and determine the sign of these, to calculate the Geometric intersection number.