
Thu, 05/12/2005 - 11:57
Forums:
Hi,
I need to convert a TopoDS_Face to a BsplineSurface.
I tryed this code :
TopoDS_Face F =TopoDS::Face(ex.Current());
BRepBuilderAPI_NurbsConvert nurbs(F);
Handle(Geom_Surface) geom_Extrusion = BRepLib_FindSurface(nurbs).Surface();
Handle(Geom_BsplineSurface) geombspline_extrusion = GeomConvert::SurfaceToBSplineSurface(geom_extrusion) ;
I have this compilation error :
error C2065: 'Handle_Geom_BsplineSurface' : undeclared identifier
Can someone tell me why ?
thanks,
Thu, 05/12/2005 - 12:33
Hi,
Change s to capital.
Handle_Geom_BSplineSurface
Thu, 05/12/2005 - 12:54
Hi,
Thanks Akbari. I'm a little bit tired.
Now I've an other problem : 'GeomConvert' : is not a class or namespace name.
Thanks for your answer.
Thu, 05/12/2005 - 13:38
Hi Kreshnik,
I dont know your exact problem.
Do you add GeomConvert.hxx?
Thu, 05/12/2005 - 14:18
Hi Akbari,
I added #include but I've forgot to add GeomConvert.hxx. Thank you very much.