title: How to generate random coordinates between two straights?
body: <p>I have a vector with fixed coordinates, and given an increase in the Y axis (down and up) that determines me a region, I need to calculate random coordinates.<a href="https://i.stack.imgur.com/kzUyp.jpg" rel="nofollow noreferrer">Image by the vector (black) coordinates and random coordinates (blue)</a></p>
  
  <p>I can generate a function to determinate the straights between the region i need to work. But i dont know how to generate random coordinates that belong to the region i need.</p>
  
  <p>I'm looking for ideas for how to implement it.</p>