Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Algorithms > Average from a ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 4848 of 4963
Post > Topic >>

Average from a set of angles

by Aaron Beall <contact@[EMAIL PROTECTED] > Jul 5, 2008 at 12:02 AM

I have a set of angles, and I want to find the angle which is the
midpoint of the range. This has proven much more difficult to find
than I expected, because of how angles "loop around" from 0 to 360 or
-180 to 180 -- if I take the mean average of the angles, I will not
necessarily get the angle between the two. For instance, if I have one
angle at 150, and another at -150, the mid angle I am looking for is
-180 or 180, but the mean average of the two would give 0, which is
not what I want.

At first I thought I could just make a conditional to handle the "loop
around" situations, but it seems every condition I solve creates a new
condition to thwart it. Is there a mathematical way to solve this
problem?
 




 8 Posts in Topic:
Average from a set of angles
Aaron Beall <contact@[  2008-07-05 00:02:34 
Re: Average from a set of angles
Kaba <none@[EMAIL PROT  2008-07-05 11:26:04 
Re: Average from a set of angles
Kenneth Sloan <Kenneth  2008-07-05 10:22:38 
Re: Average from a set of angles
Elmar Sack <Elmar.Sack  2008-07-05 19:22:45 
Re: Average from a set of angles
=?ISO-8859-1?Q?Hans-Bernh  2008-07-05 20:53:20 
Re: Average from a set of angles
Aaron Beall <contact@[  2008-07-05 11:58:52 
Re: Average from a set of angles
Aaron Beall <contact@[  2008-07-05 12:05:22 
Re: Average from a set of angles
Aaron Beall <contact@[  2008-07-05 16:31:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Aug 30 5:55:18 CDT 2008.