Salome HOME
Fix for issue #1000
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pln.cpp
index 81c5bbc2e18726f8f4fdb501ba669c556fb59eeb..4947170e9358aaef1dbb5996fbe5439318b60ea0 100644 (file)
@@ -5,6 +5,7 @@
 // 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>()))