X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Tools.h;h=32dfbb129670f402fe0cccaa981a84c8fc3d9527;hb=050fbffc14076e3a220135330916a9d77d565631;hp=a574db78a03f84cfd693cec81dbc3f49736edeb4;hpb=0ffeed30c08a4c0cdb19e8b20ed1b46c88559fad;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Tools.h b/src/SketchPlugin/SketchPlugin_Tools.h index a574db78a..32dfbb129 100644 --- a/src/SketchPlugin/SketchPlugin_Tools.h +++ b/src/SketchPlugin/SketchPlugin_Tools.h @@ -7,9 +7,27 @@ #ifndef SKETCHPLUGIN_TOOLS_H_ #define SKETCHPLUGIN_TOOLS_H_ +#include + #include +#include + +namespace SketchPlugin_Tools { /// Clears text expressions for all attributes of the feature void clearExpressions(FeaturePtr theFeature); +/// \return coincidence point +/// \param[in] theStartCoin coincidence feature +std::shared_ptr getCoincidencePoint(const FeaturePtr theStartCoin); + +/// Finds lines coincident at point +/// \param[in] theStartCoin coincidence feature +/// \param[in] theAttr attribute name +/// \param[out] theList list of lines +void findCoincidences(const FeaturePtr theStartCoin, + const std::string& theAttr, + std::set& theList); +}; // namespace SketchPlugin_Tools + #endif // SKETCHPLUGIN_TOOLS_H_ \ No newline at end of file