X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintBase.cpp;h=0a499442b65045fc305851e9c365bc92a1156475;hb=a55586483e5dccc5466d6ec241e2147e210d839f;hp=b743c0be340eed7339a860ce486d04d33ca79c51;hpb=a85c123c5bc7c48588a5cd648110d66ae1544f8c;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintBase.cpp b/src/SketchPlugin/SketchPlugin_ConstraintBase.cpp index b743c0be3..0a499442b 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintBase.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintBase.cpp @@ -1,11 +1,27 @@ -// File: SketchPlugin_ConstraintBase.cpp -// Created: 08 May 2014 -// Author: Artem ZHIDKOV +// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com +// #include "SketchPlugin_ConstraintBase.h" AISObjectPtr SketchPlugin_ConstraintBase::getAISObject(AISObjectPtr thePrevious) -{ +{ return thePrevious; } @@ -13,13 +29,3 @@ const void SketchPlugin_ConstraintBase::addSub(const FeaturePtr& theFeature) { } - -void SketchPlugin_ConstraintBase::move(const double theDeltaX, const double theDeltaY) -{ - -} - -double SketchPlugin_ConstraintBase::distanceToPoint(const boost::shared_ptr& thePoint) -{ - return 0; -}