HYDROData_SequenceOfObjects objs = GetProfiles();
double ddz = GetDDZ();
double step = GetSpatialStep();
- CreateProfilesFromDTM( objs, ddz, step, points, Out3dPres, Out2dPres, OutLeftB, OutRightB, OutInlet, OutOutlet, true, true, std::set<int>() );
+ std::set<int> InvInd;
+ CreateProfilesFromDTM( objs, ddz, step, points, Out3dPres, Out2dPres, OutLeftB, OutRightB, OutInlet, OutOutlet, true, true, InvInd );
SetAltitudePoints( points );
SetShape( DataTag_LeftBankShape, OutLeftB);
std::set<int> InvInd;
- HYDROData_DTM::CreateProfilesFromDTM( aRefProfiles, ddz, ss, HYDROData_Bathymetry::AltitudePoints(), Out3dPres, Out2dPres, OutLeftB, OutRightB,
+ HYDROData_Bathymetry::AltitudePoints points;
+ HYDROData_DTM::CreateProfilesFromDTM( aRefProfiles, ddz, ss, points, Out3dPres, Out2dPres, OutLeftB, OutRightB,
OutInlet, OutOutlet, true, true, InvInd);
aPanel->clearAllBackgroundColorsForProfileList();