Generic data structure to represent and manipulate polygonal meshes