Salome HOME
Remove unused method in FeaturesPlugin_MultiRotation.
authorazv <azv@opencascade.com>
Fri, 25 Jan 2019 09:53:56 +0000 (12:53 +0300)
committerazv <azv@opencascade.com>
Fri, 25 Jan 2019 09:53:56 +0000 (12:53 +0300)
src/FeaturesPlugin/FeaturesPlugin_MultiRotation.cpp
src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h

index dba9dedf2107ef6ca87a947bf1e132b5b5cf3cad..a570ea8da1d019f2fd083fd30c372d591bd0b1f0 100644 (file)
@@ -447,22 +447,3 @@ void FeaturesPlugin_MultiRotation::loadNamingDS3(
   }
 }
 #endif
-
-//=================================================================================================
-void FeaturesPlugin_MultiRotation::loadNamingDS(
-    std::list<std::shared_ptr<GeomAlgoAPI_Rotation> > theListOfRotationAlgo,
-    std::shared_ptr<ModelAPI_ResultBody> theResultBody,
-    std::shared_ptr<GeomAPI_Shape> theBaseShape)
-{
-  for (std::list<std::shared_ptr<GeomAlgoAPI_Rotation> >::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");
-  }
-}
index ba5a7a19637248a817dbf61fba12a3497279a366..96e9df0946fbbf94f12101da2bca805ae1a53edd 100644 (file)
@@ -118,10 +118,6 @@ private:
                     std::shared_ptr<ModelAPI_ResultBody> theResultBody,
                     std::shared_ptr<GeomAPI_Shape> theBaseShape, int nb);
 #endif
-
-  void loadNamingDS(std::list<std::shared_ptr<GeomAlgoAPI_Rotation> > theListOfRotationAlgo,
-                    std::shared_ptr<ModelAPI_ResultBody> theResultBody,
-                    std::shared_ptr<GeomAPI_Shape> theBaseShape);
 };
 
 #endif // FEATURESPLUGIN_MULTIROTATION_H_
\ No newline at end of file