+#ifdef FEATURE_MULTIROTATION_TWO_DIRECTIONS
+ /// \brief Returns a direction from a shape and an axis.
+ /// \param[in] theBaseShape shape whose center of mass serves as the starting point of the dir.
+ /// \param[in] theAxis axis that serves as a direction for the dir
+ /// \return dir that builds from center of mass of the base shape and the axis
+ GEOMALGOAPI_EXPORT static std::shared_ptr<GeomAPI_Dir> buildDirFromAxisAndShape(
+ const std::shared_ptr<GeomAPI_Shape> theBaseShape,
+ const std::shared_ptr<GeomAPI_Ax1> theAxis);
+#endif
+
+ /// \brief Re-approximate a wire to build a single edge
+ GEOMALGOAPI_EXPORT static std::shared_ptr<GeomAPI_Edge> wireToEdge(
+ const std::shared_ptr<GeomAPI_Wire>& theWire);
+
+ /// \brief Get non-composite sub-shapes of the given shape.
+ /// \param[in] theShape shape that should be exploded
+ /// \return list of sub-shapes (vertices, edges, faces, solids)
+ GEOMALGOAPI_EXPORT static ListOfShape getLowLevelSubShapes(const GeomShapePtr& theShape);
+
+ /// \brief Calculate prism sizes to ensure that it passes through all objects
+ /// \param[in] theObjects objects to be joined/cutted by the prism
+ /// \param[in] theBaseShapes bases of the prism
+ /// \param[in] theDir direction of the prism
+ /// \param[out] theToSize upper offset of the prism
+ /// \param[out] theFromSize lower offset of the prism
+ GEOMALGOAPI_EXPORT static void computeThroughAll(const ListOfShape& theObjects,
+ const ListOfShape& theBaseShapes,
+ const std::shared_ptr<GeomAPI_Dir> theDir,
+ double& theToSize, double& theFromSize);