My question from 2014 was deleted four years ago. I only just noticed now.
It was closed as it appears to be off-topic for SO. I respectfully disagree. The question is very specifically about calculating angles with a programming language. The answer explains how to do it using atan2
, which is a function available in the maths libraries of most languages. If I had asked on Stack Exchange site Mathematics, I would have received an answer I couldn't have understood and wouldn't have known how to translate into a programming language.
There's also significant precedent for programming-specific maths questions: 1 2 3 4
I understand that popularity isn't a reliable measure of question/answer quality or topicality, but it is typically a good indicator of whether people found it useful. 23 upvotes on the answer suggests to me that it was useful to a lot of people.
These days I'm much more familiar with maths and can see my question is a duplicate of any number of previous questions, but I don't believe it should have been deleted. I would like to request that it be reviewed and ideally undeleted (and then probably closed as a dupe) so it can continue to be of use to people.
Screenshot of the question for those without deleted-question viewing privileges:
https://html.duckduckgo.com/html/?q=angle%20two%20vectors
. First (not necessarily high quality): 2 Simple Ways to Calculate the Angle Between Two Vectors. If the starting point was the formula, then it could have been on-topic. -site:math.stackexchange.com how to find angle between 3 points
I find quite a few questions with answers a programmer could easily understand.