Salome HOME
Merge branch 'Pre_2.8.0_development'
[modules/shaper.git] / src / SketchAPI / SketchAPI_Rectangle.h
index fb63cec63ddcbe897365a72e58fedf133e1e3eda..b9fe8fced01cea8cf62f0b39a67c34861c4cf269 100644 (file)
@@ -65,6 +65,9 @@ public:
   SKETCHAPI_EXPORT
   void setByPoints(const std::shared_ptr<GeomAPI_Pnt2d> & theStartPoint,
                    const std::shared_ptr<GeomAPI_Pnt2d> & theEndPoint);
+
+  /// List of lines composing rectangle
+  SKETCHAPI_EXPORT std::list<std::shared_ptr<SketchAPI_SketchEntity> > lines() const;
 };
 
 //! Pointer on Rectangle object