DiscussionsIssue archiveOther usage issues

Archived discussion

about wire from face

Other usage issuesMon, 06/27/2005 - 11:141 reply

Browse this forum
QuestionAuthor

how to judge the wire by inner-circled or outer-circled face ?
thanks

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

If I understand your question, you want to know if a wire is the outline of a face or a hole. You can try getting the outermost wire of the face using BRepTools::OuterWire. You can then, if necessary, get the distance between this wire and a vertex on the wire of interest (BRepExtrema_DistShapeShape). If the distance is essentially 0, you have your outer wire. Of course it's possible that once you have the outer wire, the rest is easy.