#include "ModelAPI_Result.h"
#include <GeomAPI_Shape.h>
+#include <GeomAPI_Face.h>
#include <string>
{
public:
/// Returns the group identifier of this result
- virtual std::string groupName()
- {
- return group();
- }
+ MODELAPI_EXPORT virtual std::string groupName();
/// Returns the group identifier of this result
- static std::string group()
+ inline static std::string group()
{
static std::string MY_GROUP = "Construction";
return MY_GROUP;
/// Sets the flag that it must be displayed in history (default is true)
virtual void setIsInHistory(const bool isInHistory) = 0;
+
+ /// if the construction result may be used as faces, this method returns not zero number of faces
+ virtual int facesNum() = 0;
+ /// if the construction result may be used as faces, this method returns face by zero based index
+ virtual std::shared_ptr<GeomAPI_Face> face(const int theIndex) = 0;
};
//! Pointer on feature object