search for: random_y

Displaying 1 result from an estimated 1 matches for "random_y".

Did you mean: random_r
2006 Oct 07
1
random point in a circle centred in a geographical position
Dear List members I am trying to find a way to generate a random point in a circle centred in a geographical location. So far I have used the following formula (see code below): random_x = original_x + radius*cos(angle) random_y = original_y + radius*sin(angle) where radius is a random number between 0 and the radius of the circle and angle is between 0 and 360 degrees The code bellow works fine however some people argue that this method will produce uneven locations? I really do not understand why. Another option will b...