]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_ConstraintDistance.h
Salome HOME
Set the orientation of the Distance constraint
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintDistance.h
index c2dc3ee409e95ec77131d4488abee32c29f2cdb4..3c433e974366a39bc5452dd979dc1d74b881b260 100644 (file)
@@ -58,6 +58,13 @@ class SketchPlugin_ConstraintDistance : public SketchPlugin_ConstraintBase
     return MY_KIND;
   }
 
+  /// \brief Shows whether the point-line distance should keep its sign
+  inline static const std::string& SIGNED()
+  {
+    static const std::string MY_SIGNED("SignedDistance");
+    return MY_SIGNED;
+  }
+
   /// \brief Creates a new part document if needed
   SKETCHPLUGIN_EXPORT virtual void execute();