X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_MacroCircle.h;h=037054f7430d09ab2c2242995fa7c9e623dd23a2;hb=5afcc18216ad228eafcaf632c5008d1aebd3122e;hp=7cad8f848ae76c66752a47cf48bc2f897ba533a1;hpb=2532fb2df83ee1ddd9ff3e8b381d3788eaa15b69;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_MacroCircle.h b/src/SketchAPI/SketchAPI_MacroCircle.h index 7cad8f848..037054f74 100644 --- a/src/SketchAPI/SketchAPI_MacroCircle.h +++ b/src/SketchAPI/SketchAPI_MacroCircle.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// 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 @@ -12,9 +12,9 @@ // // 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 +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef SketchAPI_MacroCircle_H_ @@ -83,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.