1 // File: GeomAlgoAPI_FaceBuilder.h
2 // Created: 23 Apr 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef GeomAlgoAPI_FaceBuilder_HeaderFile
6 #define GeomAlgoAPI_FaceBuilder_HeaderFile
8 #include <GeomAlgoAPI.h>
9 #include <GeomAPI_Shape.h>
10 #include <GeomAPI_Pnt.h>
11 #include <GeomAPI_Dir.h>
12 #include <boost/shared_ptr.hpp>
14 /**\class GeomAlgoAPI_FaceBuilder
16 * \brief Allows to create face-shapes by different parameters
19 class GEOMALGOAPI_EXPORT GeomAlgoAPI_FaceBuilder
22 /// Creates square planar face by given point of the center,
23 /// normal to the plane and size of square
24 static boost::shared_ptr<GeomAPI_Shape> square(boost::shared_ptr<GeomAPI_Pnt> theCenter,
25 boost::shared_ptr<GeomAPI_Dir> theNormal, const double theSize);