Polygon from TopoDS_Face

Hi, i need to create a polygon from a TopoDS_Face. In particular, i want the vertex that form the face in order (CW or CCW). If a use TopExp_Explorer for explore the vertex of the face, the vertex are right but they are in a random order.

There is a solution?

thanks in advance!

jelle's picture

Use WireExplorer. This will returned vertices or edges ordered.