X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintBase.cpp;h=63b7b8dd860eb582ff3aa24f33eb6d66266736f6;hb=60e95a5502a6940c6c27ce5d561b3c684b0b0a4f;hp=b743c0be340eed7339a860ce486d04d33ca79c51;hpb=a85c123c5bc7c48588a5cd648110d66ae1544f8c;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintBase.cpp b/src/SketchPlugin/SketchPlugin_ConstraintBase.cpp index b743c0be3..63b7b8dd8 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintBase.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintBase.cpp @@ -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& thePoint) +double SketchPlugin_ConstraintBase::distanceToPoint( + const std::shared_ptr& thePoint) { return 0; }