#include "PartSet.h"
+#include <ModuleBase_ViewerPrs.h>
#include <gp_Pnt.hxx>
#include <QPoint>
#include <QList>
#include <ModelAPI_CompositeFeature.h>
+#include <TopoDS_Edge.hxx>
#include <boost/shared_ptr.hpp>
/// \param theKind a feature kind
/// \return the boolean value
static bool isConstraintFeature(const std::string& theKind);
+
+ /// Creates a line (arc or circle) by given edge
+ /// Created line will have fixed constraint
+ /// \param theEdge - an edge
+ /// \return - result of created feature
+ static ResultPtr createFixedObjectByEdge(const ModuleBase_ViewerPrs& thePrs, CompositeFeaturePtr theSketch);
+
+ /// Checks whether the list of selected presentations contains the given one
+ /// \param theSelected a list of presentations
+ /// \param thePrs a presentation to be found
+ /// \return - result of check, true if the list contains the prs
+ static bool isContainPresentation(const QList<ModuleBase_ViewerPrs>& theSelected,
+ const ModuleBase_ViewerPrs& thePrs);
+
};
#endif