+ /**
+ * Imports shape from IOR.
+ * \param theIOR the IOR of Geom object
+ * \return \c true if shape has been successfully imported
+ */
+ HYDRODATA_EXPORT virtual bool ImportFromGeomIOR( const TCollection_AsciiString& theIOR );
+
+ /**
+ * Stores the study entry of the imported GEOM object.
+ * \param theEntry GEOM object entry
+ */
+ HYDRODATA_EXPORT void SetGeomObjectEntry( const TCollection_AsciiString& theEntry );
+
+ /**
+ * Returns the imported GEOM object entry.
+ */
+ HYDRODATA_EXPORT TCollection_AsciiString GetGeomObjectEntry() const;
+
+public:
+
+ /**
+ * Returns the 3D presentation of all points.
+ */
+ HYDRODATA_EXPORT virtual bool ImportShape( const TopoDS_Shape& theShape,
+ bool IsInterpolationAllowed,
+ const Handle( HYDROData_PolylineXY )& theOldPolyline,
+ bool IsClosureAllowed = true,
+ double theDeviation = 1.);
+
+ /**
+ * Returns flag indicating that polyline can be edited or not.
+ */
+ HYDRODATA_EXPORT virtual bool IsEditable() const;
+
+
+ /**
+ * Returns true if polyline is closed
+ * \param theIsSimpleCheck flag indicating the type of checking
+ * - if true then all wires checked on closures
+ * - if false then for positive result polyline should consist of
+ * only one wire and which must be closed
+ */
+ HYDRODATA_EXPORT bool IsClosed( const bool theIsSimpleCheck = true ) const;
+
+ /**
+ * Returns connected wires and their number, by rebuild of the wires from the edges, looking for connections
+ */
+ HYDRODATA_EXPORT int GetNbConnectedWires(Handle(TopTools_HSequenceOfShape)& aConnectedWires) const;
+
+ /**
+ * Returns the distance between first and point with index thePointIndex
+ * at the section with index theSectionIndex. -1 is returned if error is occurred.
+ */
+ HYDRODATA_EXPORT double GetDistance( const int theSectionIndex,
+ const int thePointIndex ) const;
+
+ /**
+ * Returns number of sections.
+ */
+ HYDRODATA_EXPORT virtual int NbSections() const;
+
+ /**
+ * Adds new one section.
+ * \param theSectName name of the section
+ * \param theSectionType type of section
+ * \param theIsClosed flag indicates closures of section
+ */
+ HYDRODATA_EXPORT virtual void AddSection( const TCollection_AsciiString& theSectName,
+ const SectionType theSectionType,
+ const bool theIsClosed );