Converts the Cartesian coordinates to line coordinate. It works exactly like [sec:sf_line2cart]sf_line2cart but in this one the line and Cartesian coordinates are of type off_t, which means that they are given in terms of the offset in bytes in the data file.