Salome HOME
External edges for sketch: lines and circles
[modules/shaper.git] / src / ModelAPI / ModelAPI_CompositeFeature.h
index 3c822e66e85f86c8db87c255c993c2c08f9a6dc8..878ca849fb5d0fe0cfe9900eeb17840ccd9b522e 100644 (file)
@@ -24,6 +24,12 @@ public:
 
   /// Returns the sub-feature by zero-base index
   virtual boost::shared_ptr<ModelAPI_Feature> 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