SetShape( aLocatedShape );
}
-void HYDROData_LandCoverMap::ClassifyPoints( const std::vector<gp_Pnt2d>& thePoints, std::vector<std::set <QString> >& theTypes ) const
+void HYDROData_LandCoverMap::ClassifyPoints( const std::vector<gp_XY>& thePoints, std::vector<std::set <QString> >& theTypes ) const
{
HYDROData_LCM_FaceClassifier FC(this);
FC.Classify(thePoints, theTypes, NULL);
}
-void HYDROData_LandCoverMap::ClassifyPoints( const std::vector<gp_Pnt2d>& thePoints,
+void HYDROData_LandCoverMap::ClassifyPoints( const std::vector<gp_XY>& thePoints,
Handle(HYDROData_StricklerTable) theTable,
std::vector<double>& theCoeffs, double DefValue, bool UseMax ) const
{
C1.push_back(theTable->Get( *it, DefValue ));
double Val;
if (UseMax)
- Val = *(std::max_element(std::begin(C1), std::end(C1)));
+ Val = *(std::max_element( C1.begin(), C1.end() ) );
else
- Val = *(std::min_element(std::begin(C1), std::end(C1)));
+ Val = *(std::min_element( C1.begin(), C1.end() ) );
theCoeffs[i] = Val;
}
}