- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to take the arctangent of y/x, with the output in the range [0,2pi). Is there a more elegant way than using
angle = AMOD(ATAN2(y,x)+TWOPI,TWOPI)
where I have defined TWOPI as a parameter?
angle = AMOD(ATAN2(y,x)+TWOPI,TWOPI)
where I have defined TWOPI as a parameter?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
0.5*TWOPI-ATAN2(Y,-X)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page