Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The angle's defination #7

Open
zhonhel opened this issue Jun 12, 2018 · 4 comments
Open

The angle's defination #7

zhonhel opened this issue Jun 12, 2018 · 4 comments

Comments

@zhonhel
Copy link

zhonhel commented Jun 12, 2018

Hi,
It's a very nice work!
But I wonder the rectangle's angle's definition.
It seems that in your program, the angle depends on rotating clockwise/anticlockwise how many times.
But I feel in most of the time, the rectangle's angle is defined as the angle between the longer side and a coordinate axis.
If the angle is defined by rotating clockwise/anticlockwise how many times, there will be some problem, I thought.

@xuannianc
Copy link

Hi @zhonhel, Have you figured it out?

@SWHL
Copy link

SWHL commented Jul 19, 2019

I have the same problem, and am confused with the calculation of the angle. I want to know how to change from the most primitive angle to the final display angle.

@baltam
Copy link

baltam commented Oct 22, 2019

You can hack it by trial and error.When i create a horizontal box object(the key point), press the x key and the bounding box is rotated counterclockwise 180x0.01/3.14=0.57 °,press the z key and the bounding box is rotated counterclockwise 180x0.1/3.14=5.73 °

@fighting666777
Copy link

Hi, It's a very nice work! But I wonder the rectangle's angle's definition. It seems that in your program, the angle depends on rotating clockwise/anticlockwise how many times. But I feel in most of the time, the rectangle's angle is defined as the angle between the longer side and a coordinate axis. If the angle is defined by rotating clockwise/anticlockwise how many times, there will be some problem, I thought.

I also have the same question, did you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants