#define SketcherPrs_Tools_H
#include "SketcherPrs.h"
-#include <GeomAPI_Edge.h>
+#include <GeomAPI_Shape.h>
#include <GeomAPI_Pnt2d.h>
+#include <ModelAPI_Object.h>
#include <string>
class SketchPlugin_Constraint;
namespace SketcherPrs_Tools {
- std::shared_ptr<GeomAPI_Edge> getLine(SketchPlugin_Constraint* theFeature,
- const std::string& theAttrName);
+ ObjectPtr getResult(SketchPlugin_Constraint* theFeature,
+ const std::string& theAttrName);
+
+ std::shared_ptr<GeomAPI_Shape> getShape(ObjectPtr theObject);
std::shared_ptr<GeomAPI_Pnt2d> getPoint(SketchPlugin_Constraint* theFeature,
const std::string& theAttrName);