Salome HOME
Convert the altitude for bathymetry to negative number during it reading from the...
[modules/hydro.git] / src / HYDROData / HYDROData_Profile.h
index 13c6f6198f0c96bd6ceeaa05d271d1c1415bcd7b..083831878dbbe7b915c724b522e768acfabb270a 100644 (file)
@@ -8,7 +8,6 @@
 
 DEFINE_STANDARD_HANDLE(HYDROData_Profile, HYDROData_Object)
 
-class gp_XY;
 class gp_XYZ;
 class OSD_File;
 class Handle(HYDROData_Document);
@@ -75,6 +74,11 @@ public:
    */
   HYDRODATA_EXPORT bool IsValid() const;
 
+  /**
+   * Invalidate profile first and last points.
+   */
+  HYDRODATA_EXPORT void Invalidate();
+  
 public:
 
   // Public methods to work with profile points.
@@ -129,13 +133,13 @@ public:
    * Replace current profile parametric points by new one.
    * \param thePoints the list with new points in parametric form
    */
-  HYDRODATA_EXPORT void SetParametricPoints( const CurveCreator::Coordinates& theCoords );
+  HYDRODATA_EXPORT void SetParametricPoints( const HYDROData_ProfileUZ::PointsList& thePoints );
 
   /**
    * Returns profile points in parametric form.
    * \return points list
    */
-  HYDRODATA_EXPORT CurveCreator::Coordinates GetParametricPoints() const;
+  HYDRODATA_EXPORT HYDROData_ProfileUZ::PointsList GetParametricPoints() const;
 
 
   /**
@@ -192,20 +196,6 @@ public:
    */
   HYDRODATA_EXPORT virtual bool ImportFromFile( OSD_File& theFile );
 
-private:
-
-  /**
-   * Imports Profile data from parametric file.
-   */
-  bool importParametricFile( OSD_File&                        theFile,
-                             CurveCreator::Coordinates& thePoints );
-
-  /**
-   * Imports Profile data from Georeferenced file.
-   */
-  bool importGeoreferencedFile( OSD_File&      theFile,
-                                ProfilePoints& thePoints );
-
 protected:
 
   friend class HYDROData_Iterator;