class ModelAPI_ResultGroup;
class ModelAPI_ResultParameter;
class ModelAPI_Data;
+class GeomAPI_Shape;
/**\class ModelAPI_Document
* \ingroup DataModel
/// Returns true if document is opened and valid
virtual bool isOpened() = 0;
+ /// Returns the feature that produced the given face of the given result.
+ virtual std::shared_ptr<ModelAPI_Feature> producedByFeature(
+ std::shared_ptr<ModelAPI_Result> theResult,
+ const std::shared_ptr<GeomAPI_Shape>& theShape) = 0;
+
protected:
//! Only for SWIG wrapping it is here