X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_MacroCircle.h;h=037054f7430d09ab2c2242995fa7c9e623dd23a2;hb=c6745a6b1ad00c0285fab5aeac2cb0d57afef5cc;hp=ccf1f74ce5f26006d45e593a907c2a9f8af5f1a0;hpb=bd953380ed26bbef84337e8b2148d930969b5abe;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_MacroCircle.h b/src/SketchAPI/SketchAPI_MacroCircle.h index ccf1f74ce..037054f74 100644 --- a/src/SketchAPI/SketchAPI_MacroCircle.h +++ b/src/SketchAPI/SketchAPI_MacroCircle.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D --> - -// File: SketchAPI_MacroCircle.h -// Created: 09 June 2016 -// Author: Dmitry Bobylev +// 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 SketchAPI_MacroCircle_H_ #define SketchAPI_MacroCircle_H_ @@ -70,67 +83,24 @@ public: thirdPoint, SketchPlugin_MacroCircle::THIRD_POINT_ID(), GeomDataAPI_Point2D, /** Third point */) +private: /// Set by center and passed points. - SKETCHAPI_EXPORT void setByCenterAndPassedPoints(double theCenterX, double theCenterY, double thePassedX, double thePassedY); /// Set by center and passed points. - SKETCHAPI_EXPORT void setByCenterAndPassedPoints(const std::shared_ptr& theCenterPoint, const std::shared_ptr& thePassedPoint); /// Set by three points. - SKETCHAPI_EXPORT void setByThreePoints(double theX1, double theY1, double theX2, double theY2, double theX3, double theY3); /// Set by three points. - SKETCHAPI_EXPORT void setByThreePoints(const std::shared_ptr& thePoint1, const std::shared_ptr& thePoint2, const std::shared_ptr& thePoint3); - - /// Set center point. - SKETCHAPI_EXPORT - void setCenterPoint(double theX, double theY); - - /// Set center point. - SKETCHAPI_EXPORT - void setCenterPoint(const std::shared_ptr& theCenterPoint); - - /// Set passed point. - SKETCHAPI_EXPORT - void setPassedPoint(double theX, double theY); - - /// Set passed point. - SKETCHAPI_EXPORT - void setPassedPoint(const std::shared_ptr& thePassedPoint); - - /// Set first point. - SKETCHAPI_EXPORT - void setFirstPoint(double theX, double theY); - - /// Set first point. - SKETCHAPI_EXPORT - void setFirstPoint(const std::shared_ptr& thePoint); - - /// Set second point. - SKETCHAPI_EXPORT - void setSecondPoint(double theX, double theY); - - /// Set second point. - SKETCHAPI_EXPORT - void setSecondPoint(const std::shared_ptr& thePoint); - - /// Set third point. - SKETCHAPI_EXPORT - void setThirdPoint(double theX, double theY); - - /// Set third point. - SKETCHAPI_EXPORT - void setThirdPoint(const std::shared_ptr& thePoint); }; /// Pointer on Circle object.