the code detects angle for a line segment w.r.t x axis.
By chatting or signing in you agree to the Terms and chat-message logging (revocable in History).