X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_Rectangle.h;h=b9fe8fced01cea8cf62f0b39a67c34861c4cf269;hb=b06cf1477fb1ee46d7ae260c234cac5d0000abf2;hp=f604848268631aac2c2a5fedd8ba308b6f6b182c;hpb=2532fb2df83ee1ddd9ff3e8b381d3788eaa15b69;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_Rectangle.h b/src/SketchAPI/SketchAPI_Rectangle.h index f60484826..b9fe8fced 100644 --- a/src/SketchAPI/SketchAPI_Rectangle.h +++ b/src/SketchAPI/SketchAPI_Rectangle.h @@ -14,7 +14,8 @@ // 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 +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com // #ifndef SRC_SKETCHAPI_SKETCHAPI_RECTANGLE_H_ @@ -64,6 +65,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