impl line intersection.