]> SALOME platform Git repositories - modules/shaper.git/blob - src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h
Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_FaceBuilder.h
1 // File:        GeomAlgoAPI_FaceBuilder.h
2 // Created:     23 Apr 2014
3 // Author:      Mikhail PONIKAROV
4
5 #ifndef GeomAlgoAPI_FaceBuilder_HeaderFile
6 #define GeomAlgoAPI_FaceBuilder_HeaderFile
7
8 #include <GeomAlgoAPI.h>
9 #include <GeomAPI_Shape.h>
10 #include <GeomAPI_Pnt.h>
11 #include <GeomAPI_Dir.h>
12 #include <memory>
13
14 /**\class GeomAlgoAPI_FaceBuilder
15  * \ingroup DataAlgo
16  * \brief Allows to create face-shapes by different parameters
17  */
18
19 class GEOMALGOAPI_EXPORT GeomAlgoAPI_FaceBuilder
20 {
21 public:
22   /// Creates square planar face by given point of the center,
23   /// normal to the plane and size of square
24   static std::shared_ptr<GeomAPI_Shape> square(std::shared_ptr<GeomAPI_Pnt> theCenter,
25     std::shared_ptr<GeomAPI_Dir> theNormal, const double theSize);
26 };
27
28 #endif