]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Removed unused fields from pipe algo
authordbv <dbv@opencascade.com>
Thu, 7 Apr 2016 15:38:24 +0000 (18:38 +0300)
committerdbv <dbv@opencascade.com>
Thu, 7 Apr 2016 15:38:39 +0000 (18:38 +0300)
src/GeomAlgoAPI/GeomAlgoAPI_Pipe.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h

index d8056eb153fd19204c2c6841bf12e668e3096b31..612df97c2bb9f63d52698f29bfc20b73d937caba 100644 (file)
@@ -32,9 +32,6 @@ static bool buildPipe(BRepOffsetAPI_MakePipeShell* thePipeBuilder);
 //=================================================================================================
 GeomAlgoAPI_Pipe::GeomAlgoAPI_Pipe(const GeomShapePtr theBaseShape,
                                    const GeomShapePtr thePathShape)
-: /*myIsPipeShellUsed(false),*/
-  myBaseShape(theBaseShape),
-  myPathShape(thePathShape)
 {
   build(theBaseShape, thePathShape);
 }
@@ -43,7 +40,6 @@ GeomAlgoAPI_Pipe::GeomAlgoAPI_Pipe(const GeomShapePtr theBaseShape,
 GeomAlgoAPI_Pipe::GeomAlgoAPI_Pipe(const GeomShapePtr theBaseShape,
                                    const GeomShapePtr thePathShape,
                                    const GeomShapePtr theBiNormal)
-//: myIsPipeShellUsed(true)
 {
   build(theBaseShape, thePathShape, theBiNormal);
 }
@@ -52,7 +48,6 @@ GeomAlgoAPI_Pipe::GeomAlgoAPI_Pipe(const GeomShapePtr theBaseShape,
 GeomAlgoAPI_Pipe::GeomAlgoAPI_Pipe(const ListOfShape& theBaseShapes,
                                    const ListOfShape& theLocations,
                                    const GeomShapePtr thePathShape)
-//: myIsPipeShellUsed(true)
 {
   build(theBaseShapes, theLocations, thePathShape);
 }
@@ -353,4 +348,4 @@ bool buildPipe(BRepOffsetAPI_MakePipeShell* thePipeBuilder)
   }
 
   return isDone == Standard_True;
-}
\ No newline at end of file
+}
index 54f64c462f1be780dfc6389bcfbd01b0cb10a979..8c7113b2a307b6049cd04e0648d23b790e016775 100644 (file)
@@ -64,11 +64,6 @@ private:
   void build(const ListOfShape& theBaseShapes,
              const ListOfShape& theLocations,
              const GeomShapePtr thePathShape);
-
-private:
-  //bool myIsPipeShellUsed;
-  GeomShapePtr myBaseShape;
-  GeomShapePtr myPathShape;
 };
 
 #endif