Lens distortion and vignetting data from pairs of shifted photos

The Create lens calibration data for lensfun article on this website uses photos of straight lines on buildings to calculate lens distortion using Hugin. In contrast, the Calculating lens distortion tutorial on Lensfun’s website uses slightly shifted pairs of photos to calculate lens distortion using Hugin.

There are also two methods for measuring vignetting. The Create lens calibration data for lensfun article on this website uses photos of translucent glass or plastic, whereas the Calculating lens vignetting tutorial on Lensfun’s website uses slightly shifted pairs of photos to calculate vignetting using Hugin.

In my situation, the shifted photo pairs method is more feasible than the straight line method for distortion since I have not found any suitable glass buildings in my area. Is the shifted photo pairs method as good as the alternatives for getting lens distortion and vignetting data?