X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Pln.cpp;h=4947170e9358aaef1dbb5996fbe5439318b60ea0;hb=3d28bcbab2f3ed0e40295e64f4e836caebc19fca;hp=81c5bbc2e18726f8f4fdb501ba669c556fb59eeb;hpb=7bf19255421b34594c7b0a76d0ce28166d0ce895;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Pln.cpp b/src/GeomAPI/GeomAPI_Pln.cpp index 81c5bbc2e..4947170e9 100644 --- a/src/GeomAPI/GeomAPI_Pln.cpp +++ b/src/GeomAPI/GeomAPI_Pln.cpp @@ -5,6 +5,7 @@ // Author: Mikhail PONIKAROV #include +#include #include #include @@ -12,6 +13,11 @@ using namespace std; +GeomAPI_Pln::GeomAPI_Pln(const std::shared_ptr& theAxis) +: GeomAPI_Interface(new gp_Ax3(theAxis->impl())) +{ +} + GeomAPI_Pln::GeomAPI_Pln(const std::shared_ptr& thePoint, const std::shared_ptr& theNormal) : GeomAPI_Interface(new gp_Pln(thePoint->impl(), theNormal->impl()))