// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
//
#ifndef ModelAPI_ResultCompSolid_H_
bool forTree = false) const = 0;
/// Returns true if feature or reuslt belong to this composite feature as subs
- virtual bool isSub(ObjectPtr theObject) const = 0;
+ /// Returns theIndex - zero based index of sub if found
+ virtual bool isSub(ObjectPtr theObject, int& theIndex) const = 0;
/// Set displayed flag to the result and all sub results
/// \param theDisplay a boolean value