X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_EdgeBuilder.h;h=ef0f82df49d04931d80d748a35c2667dcc4232e6;hb=676e0178fdedf35ba607ef9d4f02d871dd06fa28;hp=cd505a8614d57f110f42a634098663eac38e577c;hpb=d4572a0253007ff9fc263253720e37bf896f8d0d;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h index cd505a861..ef0f82df4 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h @@ -1,14 +1,17 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAlgoAPI_EdgeBuilder.h // Created: 23 Apr 2014 // Author: Mikhail PONIKAROV -#ifndef GeomAlgoAPI_EdgeBuilder_HeaderFile -#define GeomAlgoAPI_EdgeBuilder_HeaderFile +#ifndef GeomAlgoAPI_EdgeBuilder_H_ +#define GeomAlgoAPI_EdgeBuilder_H_ #include -#include +#include #include -#include +#include +#include /**\class GeomAlgoAPI_EdgeBuilder * \ingroup DataAlgo @@ -17,10 +20,21 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_EdgeBuilder { -public: + public: /// Creates linear edge by two points - static boost::shared_ptr line( - boost::shared_ptr theStart, boost::shared_ptr theEnd); + static std::shared_ptr line(std::shared_ptr theStart, + std::shared_ptr theEnd); + + /// Creates linear edge in a form of a circle by a point and a circle radius + static std::shared_ptr lineCircle(std::shared_ptr theCenter, + std::shared_ptr theNormal, + double theRadius); + + /// Creates linear edge in a form of a circle arc by a three points + static std::shared_ptr lineCircleArc(std::shared_ptr theCenter, + std::shared_ptr theStartPoint, + std::shared_ptr theEndPoint, + std::shared_ptr theNormal); }; #endif