Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_EdgeBuilder.h
1 // File:        GeomAlgoAPI_EdgeBuilder.h
2 // Created:     23 Apr 2014
3 // Author:      Mikhail PONIKAROV
4
5 #ifndef GeomAlgoAPI_EdgeBuilder_HeaderFile
6 #define GeomAlgoAPI_EdgeBuilder_HeaderFile
7
8 #include <GeomAlgoAPI.h>
9 #include <GeomAPI_Shape.h>
10 #include <GeomAPI_Pnt.h>
11 #include <boost/shared_ptr.hpp>
12
13 /**\class GeomAlgoAPI_EdgeBuilder
14  * \ingroup DataAlgo
15  * \brief Allows to create face-shapes by different parameters
16  */
17
18 class GEOMALGOAPI_EXPORT GeomAlgoAPI_EdgeBuilder
19 {
20 public:
21   /// Creates linear edge by two points
22   static boost::shared_ptr<GeomAPI_Shape> line(
23     boost::shared_ptr<GeomAPI_Pnt> theStart, boost::shared_ptr<GeomAPI_Pnt> theEnd);
24 };
25
26 #endif