X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_FaceBuilder.h;h=5d6d731de0c092669735c9e44d242ea64403e8f0;hb=118e2ee9b8627855a172fa5ea0aa7945aab48e99;hp=15243f233099d9f5e41ee61dc5f608d39e15b386;hpb=84c21dd48f2b4be389dfa4042bc8084589c5e521;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h index 15243f233..5d6d731de 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h @@ -8,8 +8,9 @@ #include #include #include +#include #include -#include +#include /**\class GeomAlgoAPI_FaceBuilder * \ingroup DataAlgo @@ -21,8 +22,11 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_FaceBuilder public: /// Creates square planar face by given point of the center, /// normal to the plane and size of square - static std::shared_ptr square(std::shared_ptr theCenter, - std::shared_ptr theNormal, const double theSize); + static boost::shared_ptr square(boost::shared_ptr theCenter, + boost::shared_ptr theNormal, const double theSize); + + /// Returns the plane of the planar face. If it is not planar, returns empty ptr. + static boost::shared_ptr plane(boost::shared_ptr theFace); }; #endif