#include <HYDROData_PolylineXY.h>
%End
-class HYDROData_PolylineXY : HYDROData_IPolyline
+class HYDROData_PolylineXY : public HYDROData_IPolyline
{
%TypeHeaderCode
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
* \param theSectionType type of section
* \param theIsClosed flag indicates closures of section
*/
-/*TODO: void GetSections( NCollection_Sequence<TCollection_AsciiString>& theSectNames,
+ void GetSections( NCollection_Sequence<TCollection_AsciiString>& theSectNames,
NCollection_Sequence<HYDROData_IPolyline::SectionType>& theSectTypes,
- NCollection_Sequence<bool>& theSectClosures /Constrained/) const;
-*/
+ NCollection_Sequence<bool>& theSectClosures ) const;
+
/**
* Replaces point for section with index "theSectionIndex".
* \param theSectionIndex index of section