Salome HOME
Fix for stable processing of mirror constraint (eliminating SolveSpace problems)
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Tools.h
index ac779d38e6cf8d3d02f2c02de79e610d64fd0351..3cde3ea2a6e32dd95337a71b97b30baaff23fa39 100644 (file)
 #include "SketcherPrs.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_Shape> 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);