I have to be able to set a random location for a waypoint for a flight sim. The maths challenge is straightforward:
\"To find a single random location within a quadrangl
This is an interesting problem and there's probably as really interesting answer, but in case you just want it to work, let me offer you something simple.
Here's the algorithm:
edit
I updated the first step to mention the bounding box, per Bart K.'s suggestion.