From: dbv Date: Thu, 7 Apr 2016 15:38:24 +0000 (+0300) Subject: Removed unused fields from pipe algo X-Git-Tag: V_2.3.0~265 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5d51827ecd3f89ab97be0f7740d175c6db243251;p=modules%2Fshaper.git Removed unused fields from pipe algo --- diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.cpp index d8056eb15..612df97c2 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.cpp @@ -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 +} diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h b/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h index 54f64c462..8c7113b2a 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h @@ -64,11 +64,6 @@ private: void build(const ListOfShape& theBaseShapes, const ListOfShape& theLocations, const GeomShapePtr thePathShape); - -private: - //bool myIsPipeShellUsed; - GeomShapePtr myBaseShape; - GeomShapePtr myPathShape; }; #endif