X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_Rectangle.h;h=fd7c29c333f3fdd88375c265ab532bd64c17c6e4;hb=d5d78920316491975a67f76578982b401cdfe71d;hp=fb63cec63ddcbe897365a72e58fedf133e1e3eda;hpb=57199135053dfe0636ff8ff29eb6c75a6df6f08d;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_Rectangle.h b/src/SketchAPI/SketchAPI_Rectangle.h index fb63cec63..fd7c29c33 100644 --- a/src/SketchAPI/SketchAPI_Rectangle.h +++ b/src/SketchAPI/SketchAPI_Rectangle.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,10 +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 SRC_SKETCHAPI_SKETCHAPI_RECTANGLE_H_ @@ -65,6 +64,9 @@ public: SKETCHAPI_EXPORT void setByPoints(const std::shared_ptr & theStartPoint, const std::shared_ptr & theEndPoint); + + /// List of lines composing rectangle + SKETCHAPI_EXPORT std::list > lines() const; }; //! Pointer on Rectangle object