- double evaluate(const std::string& theExpression, std::string& theError,
- const std::shared_ptr<ModelAPI_Document>& theDocument);
+ /// Evaluates theExpression and returns its value.
+ double evaluate(std::shared_ptr<ModelAPI_Feature> theParameter,
+ const std::string& theExpression, std::string& theError);