
To my understanding a yellow taxi line is also a visual means to guide an aircraft during parking manoeuvers. Of course when obstacles or other aircraft are in close proximity an advanced visual docking guidance system or a marshaller(s) should be used.