Reverse edges in wire

Hi All,

How can I reverse TopoDS_Edges in TopoDS_Wire (not wire in itself!).

Best Regards, Adrian

Michael Sazonov's picture

Hi Adrian,

You can build the new wire using the reversed edges of the old one. If you want to modify the old wire you should be sure it is not frozen (see free flag). If the wire is free you can apply BRep_Builder::Add/Remove methods on it.

Best regards, Michael