  In this paper we present an algorithm to compute the (real and complex)
straight lines contained in a rational surface, defined by a rational
parameterization. The algorithm relies on the well-known theorem of
Differential Geometry that characterizes real straight lines contained in a
surface as curves that are simultaneously asymptotic lines, and geodesics. We
also report on an implementation carried out in Maple 18, and we compare the
behavior of our algorithm with two brute-force approaches.
