That's for the reply. Edge cases and outside points wont be a problem. What I'm trying to do is randomly get a point within the half circle area. I'll be generating a random Y value in 11-154 range and based on that I need to calculate a valid X range, in which I'll then again generate a random value.