]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelHighAPI/ModelHighAPI_Tools.h
Salome HOME
Issue #1650: Added CPP High API for feature Axis;
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Tools.h
index dc3378df2ee02cae4cd1508956b1b6b7c9b1ea0b..d731086b1d801df2fe826448c3b2136628040f12 100644 (file)
@@ -10,6 +10,8 @@
 //--------------------------------------------------------------------------------------
 #include "ModelHighAPI.h"
 
+#include <GeomAPI_Shape.h>
+
 #include <list>
 #include <memory>
 #include <string>
@@ -105,6 +107,12 @@ MODELHIGHAPI_EXPORT
 void fillAttribute(const char * theValue,
                    const std::shared_ptr<ModelAPI_AttributeString> & theAttribute);
 
+MODELHIGHAPI_EXPORT
+GeomAPI_Shape::ShapeType shapeTypeByStr(const std::string& theShapeTypeStr);
+
+MODELHIGHAPI_EXPORT
+GeomAPI_Shape::ShapeType getShapeType(const ModelHighAPI_Selection& theSelection);
+
 //--------------------------------------------------------------------------------------
 //--------------------------------------------------------------------------------------
 #endif /* SRC_MODELHIGHAPI_MODELHIGHAPI_TOOLS_H_ */