I am trying to create a mesh topology. I feel like the code I wrote is not what I was hoping to create. It's more of a logical mesh, its too linear with linked list to hold the pointers to class objects. What I am hoping for is:
Thank you for the response ne555 but, no I do not care about the faces or a graph :) I have been running into a lot of those while searching for a mesh structure. It doesn't have to be anything graphical! Though I was hoping for something that was less linear!
I basically want a structure that's data can be held in a mesh like this:
Basically if you can achieve a mesh structure like in the picture above you can connect the nodes any which way you want. Right now my code can do that, but my "connections" seem too linear! I was hoping for some suggestions :P!