The residue of meromorphic functions with linear poles and the geometry of cones The residue of meromorphic functions with linear poles and the geometry of cones