Theoretical basis and applications of near-field spiral scans