Salome HOME
Code cleanup in SketchPlugin and SketchSolver.
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintBase.cpp
index b743c0be340eed7339a860ce486d04d33ca79c51..47ce81f8767b472e421772a257acdd999c0b3b11 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,3 @@ void SketchPlugin_ConstraintBase::move(const double theDeltaX, const double theD
 
 }
 
-double SketchPlugin_ConstraintBase::distanceToPoint(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint)
-{
-  return 0;
-}