Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_MakeShape.h
index cb5d3f0eb701c486e85c05abf4c3335a8c17fc82..c5c586855ac586e2f41616c65c91d13b38fcf2d8 100644 (file)
@@ -144,6 +144,9 @@ public:
                                                   GeomShapePtr theNewShape,
                                                   const int theShapeType);
 
+  /// Replaces \a theShape with shape from \a myMap.
+  GEOMALGOAPI_EXPORT void fixOrientation(GeomShapePtr& theShape);
+
 protected:
   /// \brief Sets builder type.
   /// \param[in] theBuilderType new builder type.
@@ -160,9 +163,6 @@ protected:
   /// \return true if passed shape is valid for history.
   bool isValidForHistory(const GeomShapePtr theShape);
 
-  /// Replaces \a theShape with shape from \a myMap.
-  void fixOrientation(GeomShapePtr& theShape);
-
 protected:
    /// Data map to keep correct orientation of sub-shapes.
   std::shared_ptr<GeomAPI_DataMapOfShapeShape> myMap;