Yes, if the lines are perpendicular.