Salome HOME
FIx for issue #360 : make switching on/off checking of transactions in Session -...
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintBase.cpp
index b743c0be340eed7339a860ce486d04d33ca79c51..63b7b8dd860eb582ff3aa24f33eb6d66266736f6 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
 // File:    SketchPlugin_ConstraintBase.cpp
 // Created: 08 May 2014
 // Author:  Artem ZHIDKOV
@@ -5,7 +7,7 @@
 #include "SketchPlugin_ConstraintBase.h"
 
 AISObjectPtr SketchPlugin_ConstraintBase::getAISObject(AISObjectPtr thePrevious)
-{ 
+{
   return thePrevious;
 }
 
@@ -19,7 +21,8 @@ void SketchPlugin_ConstraintBase::move(const double theDeltaX, const double theD
 
 }
 
-double SketchPlugin_ConstraintBase::distanceToPoint(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint)
+double SketchPlugin_ConstraintBase::distanceToPoint(
+    const std::shared_ptr<GeomAPI_Pnt2d>& thePoint)
 {
   return 0;
 }