return aCoeff;
}
-bool HYDROData_CalculationCase::GetStricklerCoefficientForPoints(const std::vector<gp_Pnt2d>& thePoints,
- std::vector<double>& theCoeffs, double DefValue, bool UseMax )
+std::vector<double> HYDROData_CalculationCase::GetStricklerCoefficientForPoints(const std::vector<gp_XY>& thePoints,
+ double DefValue, bool UseMax ) const
{
-
Handle( HYDROData_LandCoverMap ) aLCM = GetLandCoverMap();
Handle( HYDROData_StricklerTable ) aTable = GetStricklerTable();
+ std::vector<double> theCoeffs;
if( aLCM.IsNull() || aTable.IsNull() )
- return false;
+ return theCoeffs;
aLCM->ClassifyPoints(thePoints, aTable, theCoeffs, DefValue, UseMax );
- return true;
+ return theCoeffs;
}
Handle(HYDROData_Region) HYDROData_CalculationCase::GetRegionFromPoint( const gp_XY& thePoint ) const