Iterate over list and add points to new list

romanreinold shared this question 8 months ago
Needs Answer

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?

Best regards

© 2021 International GeoGebra Institute