Characterization of quasi-crystal structure by optical frequency doubling