Salome HOME
Fix for the issue #1766 : treat face as equal with different orientation to find...
[modules/shaper.git] / src / ExchangePlugin / ExchangePlugin_Tools.h
index dc82532665653eaadd80b804bf82b5aaf23b798c..c481d8ddc2588b6eab4d687f0a49ef5d37334c4f 100644 (file)
@@ -14,8 +14,7 @@
 
 /**
  * \class ExchangePlugin_Tools
- * \ingroup Plugins
- * \brief Internal tools for the plugin.
+ * \brief Internal tools for the ExchangePlugin.
  */
 class EXCHANGEPLUGIN_EXPORT ExchangePlugin_Tools {
 public:
@@ -23,6 +22,12 @@ public:
   static std::list<std::string> split(const std::string& theString,
                                       char theDelimiter);
 
+  /// Converts string representation of selection type to XAO dimension.
+  static std::string selectionType2xaoDimension(const std::string& theString);
+
+  /// Converts string representation of XAO dimension to selection type.
+  static std::string xaoDimension2selectionType(const std::string& theDimension);
+
 };
 
 #endif /* EXCHANGEPLUGIN_TOOLS_H_ */