1 // File: GeomAlgoAPI_EdgeBuilder.h
2 // Created: 23 Apr 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef GeomAlgoAPI_EdgeBuilder_H_
6 #define GeomAlgoAPI_EdgeBuilder_H_
8 #include <GeomAlgoAPI.h>
9 #include <GeomAPI_Edge.h>
10 #include <GeomAPI_Pnt.h>
11 #include <GeomAPI_Dir.h>
12 #include <boost/shared_ptr.hpp>
14 /**\class GeomAlgoAPI_EdgeBuilder
16 * \brief Allows to create face-shapes by different parameters
19 class GEOMALGOAPI_EXPORT GeomAlgoAPI_EdgeBuilder
22 /// Creates linear edge by two points
23 static boost::shared_ptr<GeomAPI_Edge> line(boost::shared_ptr<GeomAPI_Pnt> theStart,
24 boost::shared_ptr<GeomAPI_Pnt> theEnd);
26 /// Creates linear edge in a form of a circle by a point and a circle radius
27 static boost::shared_ptr<GeomAPI_Edge> lineCircle(boost::shared_ptr<GeomAPI_Pnt> theCenter,
28 boost::shared_ptr<GeomAPI_Dir> theNormal,
31 /// Creates linear edge in a form of a circle arc by a three points
32 static boost::shared_ptr<GeomAPI_Edge> lineCircleArc(boost::shared_ptr<GeomAPI_Pnt> theCenter,
33 boost::shared_ptr<GeomAPI_Pnt> theStartPoint,
34 boost::shared_ptr<GeomAPI_Pnt> theEndPoint,
35 boost::shared_ptr<GeomAPI_Dir> theNormal);