X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_PolylineXY.sip;h=c56e55a6bc470f9ec5fae3b86d7cd35967442097;hb=6450e251d00e2beaa02e0de026b0f1af2b948a0e;hp=40781bdf3c0e03d52858d125c104cae2ef6a78c4;hpb=16cecc72628fbd69c3486834e24c3cde58b85fd1;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_PolylineXY.sip b/src/HYDROPy/HYDROData_PolylineXY.sip index 40781bdf..c56e55a6 100644 --- a/src/HYDROPy/HYDROData_PolylineXY.sip +++ b/src/HYDROPy/HYDROData_PolylineXY.sip @@ -24,7 +24,7 @@ #include %End -class HYDROData_PolylineXY : HYDROData_IPolyline +class HYDROData_PolylineXY : public HYDROData_IPolyline { %TypeHeaderCode @@ -65,6 +65,29 @@ public: virtual bool IsEditable() const; +public: + + /** + * Imports shape from IOR. + * \param theIOR the IOR of Geom object + * \return \c true if shape has been successfully imported + */ + bool ImportFromGeomIOR( const TCollection_AsciiString& theIOR ); + + /** + * Stores the study entry of the imported GEOM object. + * \param theEntry GEOM object entry + */ + void SetGeomObjectEntry( const TCollection_AsciiString& theEntry ); + + /** + * Returns the imported GEOM object entry. + */ + TCollection_AsciiString GetGeomObjectEntry() const; + + +public: + /** * Returns true if polyline is closed * \param theIsSimpleCheck flag indicating the type of checking @@ -87,9 +110,9 @@ public: * \param theSectionType type of section * \param theIsClosed flag indicates closures of section */ - void GetSections( NCollection_Sequence& theSectNames, - NCollection_Sequence& theSectTypes, - NCollection_Sequence& theSectClosures ) const; + void GetSections( NCollection_Sequence& theSectNames /Out/, + NCollection_Sequence& theSectTypes /Out/, + NCollection_Sequence& theSectClosures /Out/ ) const; /** * Replaces point for section with index "theSectionIndex".