Salome HOME
Fix bug on the direct aPI.
authorClarisse Genrault <clarisse.genrault@cea.fr>
Wed, 22 Mar 2017 09:16:02 +0000 (10:16 +0100)
committerClarisse Genrault <clarisse.genrault@cea.fr>
Wed, 22 Mar 2017 09:16:02 +0000 (10:16 +0100)
src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp

index 5fdeaee509edf96f3dcc1221aa892d2893f5bee4..44ec71043ac65f1993fa99a8413b91ea7f4e4a96 100644 (file)
@@ -243,9 +243,9 @@ namespace GeomAlgoAPI_ShapeAPI
   }
 
   //===============================================================================================
-  std::shared_ptr<GeomAPI_Shape> makeTorus(std::shared_ptr<GeomAPI_Pnt> theBasePoint,
-                                           std::shared_ptr<GeomAPI_Edge> theEdge,
-                                           double theRadius, double theRingRadius)
+  std::shared_ptr<GeomAPI_Shape> GeomAlgoAPI_ShapeAPI::makeTorus(
+      std::shared_ptr<GeomAPI_Pnt> theBasePoint,
+      std::shared_ptr<GeomAPI_Edge> 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<GeomAPI_Shape> makeTorus(double theRadius, double theRingRadius)
-      throw (GeomAlgoAPI_Exception)
+  std::shared_ptr<GeomAPI_Shape> GeomAlgoAPI_ShapeAPI::makeTorus(double theRadius,
+      double theRingRadius) throw (GeomAlgoAPI_Exception)
   {
     std::shared_ptr<GeomAPI_Pnt> aBasePoint =
       std::shared_ptr<GeomAPI_Pnt>(new GeomAPI_Pnt(0.,0.,0.));
@@ -309,10 +309,11 @@ namespace GeomAlgoAPI_ShapeAPI
   }
 
   //===============================================================================================
-  std::shared_ptr<GeomAPI_Shape> makeCone(std::shared_ptr<GeomAPI_Pnt> theBasePoint,
-                                          std::shared_ptr<GeomAPI_Edge> theEdge,
-                                          double theBaseRadius, double theTopRadius,
-                                          double theHeight) throw (GeomAlgoAPI_Exception)
+  std::shared_ptr<GeomAPI_Shape> GeomAlgoAPI_ShapeAPI::makeCone(
+      std::shared_ptr<GeomAPI_Pnt> theBasePoint,
+      std::shared_ptr<GeomAPI_Edge> 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<GeomAPI_Shape> makeCone(double theBaseRadius, double theTopRadius,
-                                          double theHeight) throw (GeomAlgoAPI_Exception)
+  std::shared_ptr<GeomAPI_Shape> GeomAlgoAPI_ShapeAPI::makeCone(
+      double theBaseRadius, double theTopRadius,
+      double theHeight) throw (GeomAlgoAPI_Exception)
   {
     std::shared_ptr<GeomAPI_Pnt> aBasePoint =
       std::shared_ptr<GeomAPI_Pnt>(new GeomAPI_Pnt(0.,0.,0.));