{
HYDROData_SequenceOfObjects aResSeq = HYDROData_Entity::GetAllReferenceObjects();
+ Handle(HYDROData_PolylineXY) aBoundaryPolyline = GetBoundaryPolyline();
+ if ( !aBoundaryPolyline.IsNull() )
+ aResSeq.Append( aBoundaryPolyline );
+
HYDROData_SequenceOfObjects aSeqOfRegions = GetRegions();
aResSeq.Append( aSeqOfRegions );
return aResSeq;
}
-void HYDROData_CalculationCase::SplitGeometryObjects()
+void HYDROData_CalculationCase::Update()
{
+ HYDROData_Entity::Update();
+
// At first we remove previously created regions
RemoveRegions();
aRegionZone->AddGeometryObject( aRefObject );
}
}
-
- // The splitted data is up to date
- SetToUpdate( false );
}
bool HYDROData_CalculationCase::AddGeometryObject( const Handle(HYDROData_Object)& theObject )