X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_CompositeFeature.h;h=878ca849fb5d0fe0cfe9900eeb17840ccd9b522e;hb=fa107dfb3ba274eaeb191c5ec4f6c96517b55a02;hp=3c822e66e85f86c8db87c255c993c2c08f9a6dc8;hpb=a6b5300a8b356e933d4778d93bb78f3cc9d7b9cb;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_CompositeFeature.h b/src/ModelAPI/ModelAPI_CompositeFeature.h index 3c822e66e..878ca849f 100644 --- a/src/ModelAPI/ModelAPI_CompositeFeature.h +++ b/src/ModelAPI/ModelAPI_CompositeFeature.h @@ -24,6 +24,12 @@ public: /// Returns the sub-feature by zero-base index virtual boost::shared_ptr subFeature(const int theIndex) const = 0; + + /// Returns the sub-feature unique identifier in this composite feature by zero-base index + virtual int subFeatureId(const int theIndex) const = 0; + + /// Returns true if feature or reuslt belong to this composite feature as subs + virtual bool isSub(ObjectPtr theObject) const = 0; }; //! Pointer on the composite feature object