From fefbca11be8ef9e4fc347a1a2949cd70148bc1ce Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 25 Jan 2019 12:53:56 +0300 Subject: [PATCH] Remove unused method in FeaturesPlugin_MultiRotation. --- .../FeaturesPlugin_MultiRotation.cpp | 19 ------------------- .../FeaturesPlugin_MultiRotation.h | 4 ---- 2 files changed, 23 deletions(-) diff --git a/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.cpp b/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.cpp index dba9dedf2..a570ea8da 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.cpp @@ -447,22 +447,3 @@ void FeaturesPlugin_MultiRotation::loadNamingDS3( } } #endif - -//================================================================================================= -void FeaturesPlugin_MultiRotation::loadNamingDS( - std::list > theListOfRotationAlgo, - std::shared_ptr theResultBody, - std::shared_ptr theBaseShape) -{ - for (std::list >::const_iterator anIt = - theListOfRotationAlgo.begin(); anIt != theListOfRotationAlgo.cend(); ++anIt) { - // naming of faces - theResultBody->loadModifiedShapes(*anIt, theBaseShape, GeomAPI_Shape::FACE, "Rotated_Face"); - - // naming of edges - theResultBody->loadModifiedShapes(*anIt, theBaseShape, GeomAPI_Shape::EDGE, "Rotated_Edge"); - - // naming of vertex - theResultBody->loadModifiedShapes(*anIt, theBaseShape, GeomAPI_Shape::VERTEX, "Rotated_Vertex"); - } -} diff --git a/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h b/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h index ba5a7a196..96e9df094 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h +++ b/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h @@ -118,10 +118,6 @@ private: std::shared_ptr theResultBody, std::shared_ptr theBaseShape, int nb); #endif - - void loadNamingDS(std::list > theListOfRotationAlgo, - std::shared_ptr theResultBody, - std::shared_ptr theBaseShape); }; #endif // FEATURESPLUGIN_MULTIROTATION_H_ \ No newline at end of file -- 2.39.2