DEFINE_STANDARD_HANDLE(HYDROData_Profile, HYDROData_Object)
-class gp_XY;
class gp_XYZ;
class OSD_File;
class Handle(HYDROData_Document);
*/
HYDRODATA_EXPORT bool IsValid() const;
+ /**
+ * Invalidate profile first and last points.
+ */
+ HYDRODATA_EXPORT void Invalidate();
+
public:
// Public methods to work with profile points.
* 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;
/**
*/
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;