Salome HOME
Fillet creation by point
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Tools.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 // File:        SketchPlugin_Tools.h
4 // Created:     07 July 2015
5 // Author:      Sergey POKHODENKO
6
7 #ifndef SKETCHPLUGIN_TOOLS_H_
8 #define SKETCHPLUGIN_TOOLS_H_
9
10 #include <GeomAPI_Pnt2d.h>
11
12 #include <ModelAPI_Feature.h>
13
14 namespace SketchPlugin_Tools {
15
16 /// Clears text expressions for all attributes of the feature 
17 void clearExpressions(FeaturePtr theFeature);
18
19 /// \return coincidence point
20 /// \param[in] theStartCoin coincidence feature
21 std::shared_ptr<GeomAPI_Pnt2d> getCoincidencePoint(FeaturePtr theStartCoin);
22
23 /// Finds lines coincident at point
24 /// \param[in] theStartCoin coincidence feature
25 /// \param[in] theAttr attribute name
26 /// \param[out] theList list of lines
27 void findCoincidences(FeaturePtr theStartCoin,
28                       std::string theAttr,
29                       std::set<FeaturePtr>& theList);
30
31 }; // namespace SketchPlugin_Tools
32
33 #endif // SKETCHPLUGIN_TOOLS_H_