I need to generate a set of unique coordinates (A1, B1) and (A2, B2) with their value between the 0 and 1. This set of unique coordinates cannot lie between an existing set of coordinates ([x1], [y1]) and ([x2], [y2]) returned by a sql query. How can I write a script using C# that generates coordinates that are 1)NOT between the values returned by the query and 2)NOT equal to the values returned by the query?
The logic here is basically used to draw a set of boxes on a page. I need to draw new boxes with unique coordinates but these new boxes cannot overlap, or lie inside existing boxes. Any help is greatly appreciated!
>=and<=?