-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021 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
#include <SketchSolver_ConstraintMovement.h>
#include <SketchPlugin_Constraint.h>
+class GeomAPI_BSpline2d;
class GeomAPI_Circ2d;
class GeomAPI_Ellipse2d;
class GeomAPI_Lin2d;
/// \brief Convert entity to ellipse
/// \return empty pointer if the entity is not an ellipse
std::shared_ptr<GeomAPI_Ellipse2d> ellipse(EntityWrapperPtr theEntity);
+ /// \brief Convert entity to Bs-pline
+ /// \return empty pointer if the entity is not an ellipse
+ std::shared_ptr<GeomAPI_BSpline2d> bspline(EntityWrapperPtr theEntity);
/// \brief Convert entity to line
/// \return empty pointer if the entity is not a line