- Joined
- Apr 19, 2011
- Messages
- 447
Hi.
Well, I need to assign a value to a point variable, following the following rules:
In the following picture, there are some blue rectangles (4 in total), that represent regions, and a red circle. I need to assign to a point variable a random location of the visible blue area.
In other words, the point must be inside one of the regions, but outside of that red area.
Maybe I'm idiot and this is easier than I think, but I can't think a way to do it. I've tried some things without success. Any ideas?
Regards
Well, I need to assign a value to a point variable, following the following rules:
In the following picture, there are some blue rectangles (4 in total), that represent regions, and a red circle. I need to assign to a point variable a random location of the visible blue area.
In other words, the point must be inside one of the regions, but outside of that red area.
Maybe I'm idiot and this is easier than I think, but I can't think a way to do it. I've tried some things without success. Any ideas?
Regards