Iterate over list and add points to new list
Hi, i need some help to do the following:
I have a list1 of n points between [0,1]x[0,1]. Then I have a vertical line which sweeps over the square [0,1]x[0,1].
I want everytime when the x-Value of the line is greater than the x-Value of any point of list1, add this point to another list2. Lets say i want to catch the points and put them to a new list everytime i the vertical line runs over a point.
I have read some things about "iterate" function and other functions, but i did not find a solution yet.
Does anyone can help me with that problem?