Help on removing a point from a list of points (solved)

I want to be able to “erase” a cell in this project. As you can see, I would need to remove a point from a list of points. Using the usual strategies like finding the index of the point then removing by index or just straight up removing it do not work because apparently I can’t compare a point against a list of points.

Help = I am happy. Thanks!

P.S. I will be working on other things while I wait for a response.

1 Like

I have figured out this myself!

1 Like

Would you mind sharing your solution?

1 Like

I do not mind @Steve_Heller! If you have checked out my project, I am storing the conductor, electron head, and electron tail components inside lists of points. I researched and found this function:

r_{emove}\left(l,i\right)=\operatorname{join}\left(i,l\right).\operatorname{unique}\left[i.\operatorname{count}+1...\right]

Which removes a LIST (even a singular point must be put inside a list) points (i) from a list (l). I then made my own function:

E_{raseCell}=c_{ond}\to r_{emove}\left(c_{ond},\left[\left(x_{1},y_{1}\right)\right]\right)\left\{I_{sCellCond}=1\right\},e_{tail}\to r_{emove}\left(e_{tail},\left[\left(x_{1},y_{1}\right)\right]\right)\left\{I_{sCellTail}=1\right\},e_{head}\to r_{emove}\left(e_{head},\left[\left(x_{1},y_{1}\right)\right]\right)\left\{I_{sCellHead}=1\right\}

Note that the restrictions will be undefined if you put it in a separate graph.

2 Likes