X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Profile.h;h=083831878dbbe7b915c724b522e768acfabb270a;hb=e75504ed446bb0bd2f5bf5649c787fe61adc9710;hp=13c6f6198f0c96bd6ceeaa05d271d1c1415bcd7b;hpb=7e825ec456c9331ef0df1cb59865cc55f0d8516a;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Profile.h b/src/HYDROData/HYDROData_Profile.h index 13c6f619..08383187 100644 --- a/src/HYDROData/HYDROData_Profile.h +++ b/src/HYDROData/HYDROData_Profile.h @@ -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;