boundary curve(loops) of a face

Hi friends.

I am building a c++ program which reads an iges files and outputs all the points corresponding to each face in UV coordinates. I am able to get all the faces and the surfaces corresponding to each face. Can you please tell me how to get the boundary curve(loop) of face and also how to get any other inner curve(if present) on the surface. Thanks a lot.


Alexander Luger's picture


take a look at BRepTools::OuterWire(face) for the boundary curve. Also ShapeAnalysis_FreeBounds might be helpful to do the job!


SAMYAK JAIN's picture

Thanks a lot for your help Alex.