A GM already has enough math to do at the table. While the math to do the Pythagoras Theorem isn't too difficult, it can be a bit cumbersome to do at the table. Especially multiple times in a row. It's called fly distance but also works for underwater distance and what not.