Direct line means your parents, their parents and so on, not aunts, uncles or cousins. Count someone as Thai if they held Thai nationality at any point, even without Thai documents.