+}
+
+bool HYDROData_Region::IsSubmersible() const
+{
+ HYDROData_SequenceOfObjects aZones = GetZones();
+ HYDROData_SequenceOfObjects::Iterator aZonesIter( aZones );
+ for ( ; aZonesIter.More(); aZonesIter.Next() )
+ {
+ Handle(HYDROData_Zone) aZone =
+ Handle(HYDROData_Zone)::DownCast( aZonesIter.Value() );
+ if ( !aZone->IsSubmersible() )
+ return false; //if one of zones is not submersible the region is considered as not submersible
+ }
+ return true;
+}