]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_Point.h
Salome HOME
Issue #273: Add copyright string
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Point.h
index 14f58740248eed1215cf5c980e688d4fa48483d8..4d2845c1c0958eb1c5bb9fcca2cf1541cece47f2 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
 // File:    SketchPlugin_Point.h
 // Created: 07 May 2014
 // Author:  Artem ZHIDKOV
@@ -36,6 +38,9 @@ class SketchPlugin_Point : public SketchPlugin_Feature
     return MY_KIND;
   }
 
+  /// Returns true is sketch element is under the rigid constraint
+  SKETCHPLUGIN_EXPORT virtual bool isFixed();
+
   /// Creates a new part document if needed
   SKETCHPLUGIN_EXPORT virtual void execute();
 
@@ -55,7 +60,7 @@ class SketchPlugin_Point : public SketchPlugin_Feature
 
   /// Return the distance between the feature and the point
   /// \param thePoint the point
-  virtual double distanceToPoint(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint);
+  virtual double distanceToPoint(const std::shared_ptr<GeomAPI_Pnt2d>& thePoint);
 
   /// Use plugin manager for features creation
   SketchPlugin_Point();