So basically I have 2 string lists: (List points, List connections). The list "points" is a set of xyz coordinates and the list "connections" shows how the points are connected in the list in order to create triangles. What I want to do is to populate a list containing the triangles. Please note that the value -1 at the end of each line in "connections" can be excluded (it is there to say that a new triangle is coming).
The class ProcessTriangles I have created is supposed to get those triangles but when I compile the code nothing happens.
Can someone help please?
My code: