Salome HOME
Merge branch 'V9_3_BR'
[modules/shaper.git] / src / BuildPlugin / BuildPlugin_Plugin.cpp
index 800884c1021f81a47c4d2572a1891b2243b26324..5d37e3299e8602c5efddd19b4c8561d6b14de795 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-20xx  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2019  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #include "BuildPlugin_Plugin.h"
@@ -26,6 +25,8 @@
 #include <BuildPlugin_Vertex.h>
 #include <BuildPlugin_Edge.h>
 #include <BuildPlugin_Wire.h>
+#include <BuildPlugin_Polyline.h>
+#include <BuildPlugin_Interpolation.h>
 #include <BuildPlugin_Face.h>
 #include <BuildPlugin_Shell.h>
 #include <BuildPlugin_Solid.h>
@@ -70,7 +71,11 @@ FeaturePtr BuildPlugin_Plugin::createFeature(std::string theFeatureID)
     return FeaturePtr(new BuildPlugin_Edge());
   } else if(theFeatureID == BuildPlugin_Wire::ID()) {
     return FeaturePtr(new BuildPlugin_Wire());
-  } else if(theFeatureID == BuildPlugin_Face::ID()) {
+  } else if (theFeatureID == BuildPlugin_Polyline::ID()) {
+    return FeaturePtr(new BuildPlugin_Polyline());
+  } else if (theFeatureID == BuildPlugin_Interpolation::ID()) {
+    return FeaturePtr(new BuildPlugin_Interpolation());
+  } else if (theFeatureID == BuildPlugin_Face::ID()) {
     return FeaturePtr(new BuildPlugin_Face());
   } else if(theFeatureID == BuildPlugin_Shell::ID()) {
     return FeaturePtr(new BuildPlugin_Shell());