Before I would consider doing that calculation, I'd want to see a justification for such a definition.
Your own picture nicely shows why your perpendicular measurement makes sense: it gives the narrowest hallway it could be carried down (as shown by the parallel lines).
The alternative has no meaning in similar terms. Here is what you would get:
This does not give the width of anything meaningful. Do they say what it does mean? Can you provide a link to a discussion about it? (My best guess is that someone decided this would be easier to measure on actual furniture, and would be (typically) a reasonable approximation.)
I need to add that, since the back of the sofa is not a narrow line (nor, sometimes, vertical), the advice to add extra clearance is important.
EDIT: It looks like there are a variety of definitions, suggesting no one really knows what it's meant for.
This site, for example, says "The next step is to measure the diagonal depth of the sofa. You do this by placing a straight tape measure
from the top back of the frame to the bottom front." That may be the
longest distance across the sofa; but they don't say what you use it for! On the other hand, the picture
here is ambiguous, but they clearly state the purpose.
I also found where your picture comes from, and the explanation given with it:
https://en.wikipedia.org/wiki/Wikip...matics/2020_October_10#Diagonal_depth_of_sofa