Condition for a Line to Lie on a Plane