# Is there an easy way to calculate the clockwise angle of a line drawing?

Hello everyone, can you please help me with this issue?

I want a clockwise angle which would be positive and greater than 90 degrees. Is there a single function that can give me a positive counterclockwise angle for a line between two points?

I would like to keep the code down to a minimum, such as one or two functions used at most to find my angle.

Is it an opencv problem ?

This helped me for c++, no opencv needed: https://stackoverflow.com/questions/1...

Are you familiar with the dot product and acos? If so, post the answer to your question.