+void HYDROData_Region::SetFace( const TopoDS_Face& theFace )
+{
+ TNaming_Builder aBuilder( myLab );
+ aBuilder.Generated( theFace );
+}
+
+TopoDS_Face HYDROData_Region::Face() const
+{
+ Handle(TNaming_NamedShape) aNamedShape;
+ if( myLab.FindAttribute( TNaming_NamedShape::GetID(), aNamedShape ) )
+ return TopoDS::Face( aNamedShape->Get() );
+ return TopoDS_Face();
+}
+