X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Collinear.h;h=63ea32cfe03a659920f46efd71efe08775f512d3;hb=ea593bc59e7e9461f6c4e2afd3f24d621edb1011;hp=67a7a7aca6404894465cd7bbab012292de5781bf;hpb=1de75803e9baf3de59fa755f9eccb6ef60bb64e4;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Collinear.h b/src/SketcherPrs/SketcherPrs_Collinear.h old mode 100755 new mode 100644 index 67a7a7aca..63ea32cfe --- a/src/SketcherPrs/SketcherPrs_Collinear.h +++ b/src/SketcherPrs/SketcherPrs_Collinear.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: SketcherPrs_Collinear.h -// Created: 29 Feb 2016 -// Author: Natalia ERMOLAEVA +// Copyright (C) 2014-2019 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 +// #ifndef SketcherPrs_Collinear_H #define SketcherPrs_Collinear_H @@ -22,9 +35,10 @@ class SketcherPrs_Collinear: public SketcherPrs_SymbolPrs public: /// Constructor /// \param theConstraint a constraint feature - /// \param thePlane a coordinate plane of current sketch + /// \param theSketcher a sketcher object Standard_EXPORT SketcherPrs_Collinear(ModelAPI_Feature* theConstraint, - const std::shared_ptr& thePlane); + SketchPlugin_Sketch* theSketcher); + DEFINE_STANDARD_RTTIEXT(SketcherPrs_Collinear, SketcherPrs_SymbolPrs) /// Returns true if the constraint feature arguments are correcly filled to build AIS presentation