Salome HOME
Union of validator and filter functionalities.
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Tools.h
index 5a932956044589e7e6194be81e4eb42d59167d82..3cde3ea2a6e32dd95337a71b97b30baaff23fa39 100644 (file)
@@ -8,16 +8,19 @@
 #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);