+ /**
+ * Set reference bathymetry object for geometry object.
+ * Reimplemented to remove reference u,z profile.
+ */
+ HYDRODATA_EXPORT virtual bool SetAltitudeObject( const Handle(HYDROData_IAltitudeObject)& theAltitude );
+
+ /**
+ * Clear the reference bathymetry object for geometry object.
+ * Reimplemented to remove child u,z profile.
+ */
+ HYDRODATA_EXPORT virtual void RemoveAltitudeObject();
+
+
+ /**
+ * Returns the child u,z profile which has been generated from bathymetry.
+ */
+ HYDRODATA_EXPORT Handle(HYDROData_ProfileUZ) GetChildProfileUZ( const bool theIsCreate = true ) const;
+
+ /**
+ * Sets the child u,z profile for polyline.
+ */
+ HYDRODATA_EXPORT void SetChildProfileUZ( const Handle(HYDROData_ProfileUZ)& theProfile );
+
+ /**
+ * Returns list of polyline points.
+ * \return list of 3D points
+ */
+ HYDRODATA_EXPORT Polyline3DPoints GetPoints( double theEqDistance = -1 ) const;
+
+protected:
+ /**
+ * Checks and if necessary create child 3D object.
+ * Reimplemented to prevent creation of 3D child object.
+ */
+ HYDRODATA_EXPORT virtual void checkAndSetObject3D() {}
+
+
+protected:
+
+
+ void updateChildProfilePoints();
+
+ void removeChildProfileUZ();
+
+