Salome HOME
A fix for a bug: clear content in the shape selector by deselection it in the viewer.
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Tools.h
index 00a2e96630948e82c01f8d29523879ae78e0f760..b2ed89c5bdc56689593a691628fc3dc9603c2df8 100644 (file)
@@ -10,6 +10,7 @@
 #include "SketcherPrs.h"
 #include <GeomAPI_Shape.h>
 #include <GeomAPI_Pnt2d.h>
+#include <GeomAPI_Ax3.h>
 #include <ModelAPI_Object.h>
 #include <ModelAPI_Feature.h>
 #include <string>
@@ -60,6 +61,12 @@ enum SelectionModes {
   SKETCHERPRS_EXPORT double getArrowSize();
 
   SKETCHERPRS_EXPORT void setArrowSize(double theSize);
+
+  SKETCHERPRS_EXPORT double getFlyoutDistance(const ModelAPI_Feature* theConstraint);
+
+  SKETCHERPRS_EXPORT std::shared_ptr<GeomAPI_Pnt> getAnchorPoint(
+                                              const ModelAPI_Feature* theConstraint,
+                                              const std::shared_ptr<GeomAPI_Ax3>& thePlane);
 };
 
 #endif