Salome HOME
Fix for the issue #2808 : Documentation on the "Groups" panel. Added description...
[modules/shaper.git] / src / Selector / Selector_NExplode.h
index 4e020c1a9fc9e1f4e06decae426309771d9d8f48..cb23b4d24c3ec19ff6fd8185889ef6158b0b4add 100644 (file)
 class Selector_NExplode
 {
  public:
-   /// \brief Initializes the sorted list of shapes by the context shape and type of sub-shapes.
+   /// \brief Initializes the sorted list of shapes by the shapes list.
    SELECTOR_EXPORT Selector_NExplode(const TopoDS_ListOfShape& theShapes);
+   /// \brief Initializes the sorted list of shapes by the context shape and type of sub-shapes.
+   SELECTOR_EXPORT Selector_NExplode(const TopoDS_Shape& theShape, const TopAbs_ShapeEnum theType);
 
    /// Returns an index (started from one) of sub-shape in the sorted list. Returns 0 if not found.
    SELECTOR_EXPORT int index(const TopoDS_Shape& theSubShape);
@@ -43,7 +45,7 @@ class Selector_NExplode
    SELECTOR_EXPORT TopoDS_Shape shape(const int theIndex);
 
 protected:
-  TopoDS_ListOfShape mySorted; ///< keepthe the ordered list of shapes
+  TopoDS_ListOfShape mySorted; ///< keep the ordered list of shapes
 };
 
 #endif