createFace function signature

This commit is contained in:
blobfish
2015-01-22 13:05:23 -05:00
committed by wmayer
parent 9c632cdf22
commit 7ae5dbde01
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ void BSurf::getWire(TopoDS_Wire& aWire)
if(aWire.IsNull()){Standard_Failure::Raise("Wire unable to be constructed");return;}
}
void BSurf::createFace(Handle_Geom_BoundedSurface aSurface)
void BSurf::createFace(const Handle_Geom_BoundedSurface &aSurface)
{
BRepBuilderAPI_MakeFace aFaceBuilder;
Standard_Real u1, u2, v1, v2;

View File

@@ -55,7 +55,7 @@ public:
protected:
GeomFill_FillingStyle getFillingStyle();
void getWire(TopoDS_Wire& aWire);
void createFace(const Handle_Geom_BoundedSurface aSurface);
void createFace(const Handle_Geom_BoundedSurface &aSurface);
};
}