Salome HOME
refs #1330: basic implementation of the not zoomable polyline arrows
[modules/hydro.git] / src / HYDROData / HYDROData_DTM.h
index 7f2de733cc173ed0acaf8aa92414bd23ab78905d..59d3cd6811e8a7f60c67620e63f6512661e8cc50 100644 (file)
@@ -90,12 +90,13 @@ public:
   class CurveUZ : public std::vector<PointUZ>
   {
   public:
-    CurveUZ( double theXcurv, const gp_Vec2d& theProfileDir, double theDeltaZ );
+    CurveUZ( double theXcurv, const gp_Vec2d& theProfileDir, double theDeltaZ, double theMaxZ );
     ~CurveUZ();
 
     double Xcurv() const;
     gp_Vec2d ProfileDir() const;
     double DeltaZ() const;
+    double MaxZ() const;
 
     CurveUZ operator + ( const CurveUZ& ) const;
     CurveUZ operator * ( double ) const;
@@ -104,6 +105,7 @@ public:
     double myXcurv;
     gp_Vec2d myProfileDir;
     double myDeltaZ;
+    double myMaxZ;
   };
 
 protected:
@@ -127,7 +129,7 @@ protected:
                              double& theZMin, double& theZMax );
 
   static void ProfileDiscretization( const Handle(HYDROData_Profile)& theProfile,
-                                     double theXCurv, double theMinZ, double theMaxZ, double theDDZ,
+                                     double theXCurv, double theMinZ, double theMaxZ, double theTopZ, double theDDZ,
                                      CurveUZ& theMidPointCurve,
                                      CurveUZ& theWidthCurve,
                                      int& intersection_nb,