Salome HOME
Issue #20167: checkPythonDump() errors
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Prism.cpp
index 3cee6ce0e8fee250aacaa7c1697433414b170f10..50b2ef2b16cc004b3d1c5d3b197f87962958cd21 100644 (file)
@@ -299,7 +299,7 @@ void GeomAlgoAPI_Prism::buildBySizes(const GeomShapePtr             theBaseShape
 
   // Making prism.
   BRepPrimAPI_MakePrism* aPrismBuilder =
-      new BRepPrimAPI_MakePrism(aMovedBase, anExtVec * (theFromSize + theToSize), true);
+      new BRepPrimAPI_MakePrism(aMovedBase, anExtVec * (theFromSize + theToSize));
   if (!aPrismBuilder || !aPrismBuilder->IsDone()) {
     return;
   }
@@ -407,7 +407,7 @@ void GeomAlgoAPI_Prism::buildByPlanes(const GeomShapePtr             theBaseShap
 
   // Making prism.
   BRepPrimAPI_MakePrism* aPrismBuilder =
-    new BRepPrimAPI_MakePrism(aMovedBase, anExtVec * 2 * aPrismLength, true);
+    new BRepPrimAPI_MakePrism(aMovedBase, anExtVec * 2 * aPrismLength);
   if(!aPrismBuilder || !aPrismBuilder->IsDone()) {
     return;
   }
@@ -457,7 +457,7 @@ void GeomAlgoAPI_Prism::buildByPlanes(const GeomShapePtr             theBaseShap
   // Solid based on "To" bounding plane
   gp_Vec aNormal = aToDir->impl<gp_Dir>();
   BRepPrimAPI_MakePrism* aToPrismBuilder =
-      new BRepPrimAPI_MakePrism(aToShape, aNormal * (-2.0 * aBndBoxSize), true);
+      new BRepPrimAPI_MakePrism(aToShape, aNormal * (-2.0 * aBndBoxSize));
   if (!aToPrismBuilder || !aToPrismBuilder->IsDone()) {
     return;
   }
@@ -494,7 +494,7 @@ void GeomAlgoAPI_Prism::buildByPlanes(const GeomShapePtr             theBaseShap
   // Solid based on "From" bounding plane
   aNormal = aFromDir->impl<gp_Dir>();
   BRepPrimAPI_MakePrism* aFromPrismBuilder =
-      new BRepPrimAPI_MakePrism(aFromShape, aNormal * (-2.0 * aBndBoxSize), true);
+      new BRepPrimAPI_MakePrism(aFromShape, aNormal * (-2.0 * aBndBoxSize));
   if (!aFromPrismBuilder || !aFromPrismBuilder->IsDone()) {
     return;
   }
@@ -595,7 +595,7 @@ void GeomAlgoAPI_Prism::buildByFaces(const GeomShapePtr             theBaseShape
 
   // Making prism.
   BRepPrimAPI_MakePrism* aPrismBuilder =
-      new BRepPrimAPI_MakePrism(aMovedBase, anExtVec * 2 * aPrismLength, true);
+      new BRepPrimAPI_MakePrism(aMovedBase, anExtVec * 2 * aPrismLength);
   if (!aPrismBuilder || !aPrismBuilder->IsDone()) {
     return;
   }