X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_EdgeBuilder.h;h=630e77a23e7371cf6434d3857258400249f07821;hb=fc72d43b677baa05ae7fd317346fd8b723b799ed;hp=22c248d97bfd412b237fe6ee8416c7a55ca7fad4;hpb=7074394f8f08413d885f63be01df6bd5007b868c;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h index 22c248d97..630e77a23 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef GeomAlgoAPI_EdgeBuilder_H_ @@ -28,6 +27,10 @@ #include #include #include +#include + +class GeomAPI_Ax3; +class GeomAPI_BSpline2d; /**\class GeomAlgoAPI_EdgeBuilder * \ingroup DataAlgo @@ -79,6 +82,30 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_EdgeBuilder const std::shared_ptr& theMajorAxis, const double theMajorRadius, const double theMinorRadius); + + + /// Creates elliptic edge + static std::shared_ptr ellipticArc( + const std::shared_ptr& theCenter, + const std::shared_ptr& theNormal, + const std::shared_ptr& theMajorAxis, + const double theMajorRadius, + const double theMinorRadius, + const std::shared_ptr& theStart, + const std::shared_ptr& theEnd); + + /// Creates planar B-spline edge + static GeomEdgePtr bsplineOnPlane(const std::shared_ptr& thePlane, + const std::list >& thePoles, + const std::list& theWeights, + const std::list& theKnots, + const std::list& theMults, + const int theDegree, + const bool thePeriodic); + + /// Creates planar B-spline edge + static GeomEdgePtr bsplineOnPlane(const std::shared_ptr& thePlane, + const std::shared_ptr& theCurve); }; #endif