Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

image description

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.