DiscussionsIssue archiveOther usage issues

Archived discussion

TopoDS_Wire outerWire=BRepTools::OuterWire(face);

Other usage issuesMon, 06/23/2008 - 13:462 replies

Browse this forum
QuestionAuthor

Hi All,

Has someone used

TopoDS_Wire outerWire=BRepTools::OuterWire(face);

successfully? When I try to use a wire explorer on the result it seems not to find any edges

Thanks for your help!

Author

Discussion

2 archived replies

Posts are displayed in their archived order.

01Author

Sorry, I have found the problem and it was not related to this function.

The face was somehow invalid. I got the first face from a TopTools_ListOfShape and then I removed it using RemoveFirst(). I expected the face to be still valid and just the reference to the face from the list to be removed but it seems not to be the case?

02Commenter-1

AFAIK RemoveFirst remove the item from the list not from the shape