From 5d51827ecd3f89ab97be0f7740d175c6db243251 Mon Sep 17 00:00:00 2001 From: dbv Date: Thu, 7 Apr 2016 18:38:24 +0300 Subject: [PATCH] Removed unused fields from pipe algo --- src/GeomAlgoAPI/GeomAlgoAPI_Pipe.cpp | 7 +------ src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h | 5 ----- 2 files changed, 1 insertion(+), 11 deletions(-) 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 -- 2.39.2