Linear polarimetry of Ap stars. III; a diagnostic method for the magnetic structure of rotating stars