I need to iterate over the vertices of a TopoDS_Shape. I tried to use iterators (TopExp_Explorer) or MapShape (a method of TopExp), but, in the two cases, each vertices is duplicated several times. Personnaly, I would like to have only one occurrence of each vertice.
More generally, it would be useful to do it for every kind of cells. For instance, getting all the edges of a solid.
I hope someone could help me. thanks,