X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_EdgeBuilder.h;h=5edb29cf10d94da5111b4dbec80336ac98eb8ca9;hb=9a06f255338dc4cd38cfcdf724fe72306cea29a3;hp=245e97f05888c0795f2d21e37dde3f242ae10e05;hpb=3c987a8d1b88765224e3ac1388afb91eae17e4d3;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h index 245e97f05..5edb29cf1 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2022 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 @@ -27,6 +27,10 @@ #include #include #include +#include + +class GeomAPI_Ax3; +class GeomAPI_BSpline2d; /**\class GeomAlgoAPI_EdgeBuilder * \ingroup DataAlgo @@ -89,6 +93,19 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_EdgeBuilder 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