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;
double myXcurv;
gp_Vec2d myProfileDir;
double myDeltaZ;
+ double myMaxZ;
};
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,