I am writing my code in visual studio, and the running it as a plugin in grasshopper. I cant figure out why my code is not working properly. The “ProcessNewCenters” function is not adding points to the starting list. I have attached the code below.
Not sure but in your solve instance class you are creating a new wholesystem at every iteration. This should be in a private variable outside the solve instance. I assume that’s where you are initializing an empty Pointlist everytime it iterates