From: Clarisse Genrault Date: Wed, 22 Mar 2017 09:16:02 +0000 (+0100) Subject: Fix bug on the direct aPI. X-Git-Tag: V_2.9.0~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=be7adf6a7a775f269c00f994af50035035844fee;p=modules%2Fshaper.git Fix bug on the direct aPI. --- diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp index 5fdeaee50..44ec71043 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp @@ -243,9 +243,9 @@ namespace GeomAlgoAPI_ShapeAPI } //=============================================================================================== - std::shared_ptr makeTorus(std::shared_ptr theBasePoint, - std::shared_ptr theEdge, - double theRadius, double theRingRadius) + std::shared_ptr GeomAlgoAPI_ShapeAPI::makeTorus( + std::shared_ptr theBasePoint, + std::shared_ptr theEdge,double theRadius, double theRingRadius) throw (GeomAlgoAPI_Exception) { // Check if the base point is OK @@ -280,8 +280,8 @@ namespace GeomAlgoAPI_ShapeAPI } //=============================================================================================== - std::shared_ptr makeTorus(double theRadius, double theRingRadius) - throw (GeomAlgoAPI_Exception) + std::shared_ptr GeomAlgoAPI_ShapeAPI::makeTorus(double theRadius, + double theRingRadius) throw (GeomAlgoAPI_Exception) { std::shared_ptr aBasePoint = std::shared_ptr(new GeomAPI_Pnt(0.,0.,0.)); @@ -309,10 +309,11 @@ namespace GeomAlgoAPI_ShapeAPI } //=============================================================================================== - std::shared_ptr makeCone(std::shared_ptr theBasePoint, - std::shared_ptr theEdge, - double theBaseRadius, double theTopRadius, - double theHeight) throw (GeomAlgoAPI_Exception) + std::shared_ptr GeomAlgoAPI_ShapeAPI::makeCone( + std::shared_ptr theBasePoint, + std::shared_ptr theEdge, + double theBaseRadius, double theTopRadius, + double theHeight) throw (GeomAlgoAPI_Exception) { // Check if the base point is OK if (!theBasePoint) { @@ -346,8 +347,9 @@ namespace GeomAlgoAPI_ShapeAPI } //=============================================================================================== - std::shared_ptr makeCone(double theBaseRadius, double theTopRadius, - double theHeight) throw (GeomAlgoAPI_Exception) + std::shared_ptr GeomAlgoAPI_ShapeAPI::makeCone( + double theBaseRadius, double theTopRadius, + double theHeight) throw (GeomAlgoAPI_Exception) { std::shared_ptr aBasePoint = std::shared_ptr(new GeomAPI_Pnt(0.,0.,0.));