X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_CompositeFeature.h;h=878ca849fb5d0fe0cfe9900eeb17840ccd9b522e;hb=fa107dfb3ba274eaeb191c5ec4f6c96517b55a02;hp=28c4d6d2a4847523a0e7ebe6da0b52d253d53382;hpb=b9eb347a63532ac4c1266b75a44a51c3ec2d6ee0;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_CompositeFeature.h b/src/ModelAPI/ModelAPI_CompositeFeature.h index 28c4d6d2a..878ca849f 100644 --- a/src/ModelAPI/ModelAPI_CompositeFeature.h +++ b/src/ModelAPI/ModelAPI_CompositeFeature.h @@ -27,6 +27,9 @@ public: /// 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