A combinatorial characterization of quadric veroneseans