X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_Sketch.h;h=5f3b4e430134d03fa47208f6d5938ef34b91eb2d;hb=d53cd037401ca37f75e19e59201e1b816f251c6a;hp=3f77ba084436c0afeaefd27af859123405ebbf83;hpb=3c9bfdce3bd7cef0b5e5a23277acd064fb760af8;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_Sketch.h b/src/SketchAPI/SketchAPI_Sketch.h index 3f77ba084..5f3b4e430 100644 --- a/src/SketchAPI/SketchAPI_Sketch.h +++ b/src/SketchAPI/SketchAPI_Sketch.h @@ -181,13 +181,9 @@ public: const std::shared_ptr & theEndPoint); /// Add rectangle SKETCHAPI_EXPORT - std::shared_ptr addRectangle( - double theX1, double theY1, double theX2, double theY2, bool isFirstPointCenter); - /// Add rectangle - SKETCHAPI_EXPORT - std::shared_ptr addRectangle( - const std::shared_ptr & theFirstPoint, - const std::shared_ptr & theEndPoint, bool isFirstPointCenter); + std::shared_ptr addRectangleCentered( + const std::pair, ModelHighAPI_RefAttr> & theCenter, + const std::pair, ModelHighAPI_RefAttr> & theCorner); /// Add circle SKETCHAPI_EXPORT