From TopoDS_Shape to Geom_Surface

I've constructed a surface by revolving some curves (by making edges, wires etc) then fused the shapes together (BRepAlgoAPI_Fuse). Is there some way to get a Geom_Surface from the resulting TopoDS_Shape?

Benedicte Martin's picture

try to use BRep_Tool::Surface(TopoDS_Face)

mpolak's picture

Is that a "new" feature? I don't have such a function in my BRep_Tools. I'm using version 4.0.

Stephane Routelous's picture

It is a very old function.
check in BRep_Tool and not in BRepTools

mpolak's picture

I found it. Thanks for the clarification.