aResAltitude = GetAltitudeForPoint( thePoint, aZone, theMethod );
else
{
- DEBTRACE("GetAltitudeForPoint Region " << aRefRegion->GetName().toStdString() << " Zone " << aZone->GetName().toStdString() << " ---------------------------");
+ //DEBTRACE("GetAltitudeForPoint Region " << aRefRegion->GetName().toStdString() << " Zone " << aZone->GetName().toStdString() << " ---------------------------");
aResAltitude = GetAltitudeForPoint( thePoint, aZone, theMethod );
}
}
else
{
- DEBTRACE(" --- GetAltitudeForPoint No Zone ---");
+ //DEBTRACE(" --- GetAltitudeForPoint No Zone ---");
}
return aResAltitude;
}
else if ( aZoneMergeType == HYDROData_Zone::Merge_UNKNOWN )
{
- DEBTRACE("GetAltitudeForPoint Zone " << theZone->GetName().toStdString() << " Merge_UNKNOWN");
+ //DEBTRACE("GetAltitudeForPoint Zone " << theZone->GetName().toStdString() << " Merge_UNKNOWN");
return aResAltitude;
}
}
for (size_t i = 0; i < aFc->length(); i++)
- GEOMBase::PublishSubObject(aFc->operator[](i), Names[i]);
+ {
+ std::string name = Names[i].toStdString();
+ GEOM::GEOM_Object_ptr anObj = aFc->operator[](i);
+ //GEOMBase::PublishSubObject( anObj, name.c_str() );
+ theGeomEngine->AddInStudy( theStudy, anObj, name.c_str(), aGeomObj );
+ }
return aGeomObj;
}