Salome HOME
Fix for issue #1000
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pln.cpp
index cee05500816e80885f7f4e5fd7cf6a02fe4be594..4947170e9358aaef1dbb5996fbe5439318b60ea0 100644 (file)
@@ -1,8 +1,11 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomAPI_Pln.cpp
 // Created:     23 Apr 2014
 // Author:      Mikhail PONIKAROV
 
 #include<GeomAPI_Pln.h>
+#include <GeomAPI_Ax3.h>
 #include <GeomAPI_Pnt.h>
 #include <GeomAPI_Dir.h>
 
 
 using namespace std;
 
+GeomAPI_Pln::GeomAPI_Pln(const std::shared_ptr<GeomAPI_Ax3>& theAxis)
+: GeomAPI_Interface(new gp_Ax3(theAxis->impl<gp_Ax3>()))
+{
+}
+
 GeomAPI_Pln::GeomAPI_Pln(const std::shared_ptr<GeomAPI_Pnt>& thePoint,
                          const std::shared_ptr<GeomAPI_Dir>& theNormal)
     : GeomAPI_Interface(new gp_Pln(thePoint->impl<gp_Pnt>(), theNormal->impl<gp_Dir>()))