X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Region.h;h=cfaf931f7d6a494814d26c2ef361d7c007f93b11;hb=ad8562bab9992101430a6327aa7ca06c71f6d084;hp=f0d2075f107d886181494ab89e77c17430882c49;hpb=85eaba6cfd3cd0b88d4228afee4670ad75985377;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Region.h b/src/HYDROData/HYDROData_Region.h index f0d2075f..cfaf931f 100644 --- a/src/HYDROData/HYDROData_Region.h +++ b/src/HYDROData/HYDROData_Region.h @@ -9,6 +9,8 @@ DEFINE_STANDARD_HANDLE(HYDROData_Region, HYDROData_Entity) class Handle(HYDROData_Zone); +class TopoDS_Shape; + /**\class HYDROData_Region * \brief Regions are groups (lists) of zones, they can include one or several zones. */ @@ -69,6 +71,14 @@ public: */ HYDRODATA_EXPORT virtual void RemoveZones(); + /** + * \brief Returns the shape of the region. + * Shape of the region could be: + * - a face which is the union of the region zones faces + * - a shell if the zones faces can't be united into one face + * \return shape as TopoDS_Shape + */ + HYDRODATA_EXPORT virtual TopoDS_Shape GetShape() const; protected: @@ -87,12 +97,12 @@ protected: * Creates new object in the internal data structure. Use higher level objects * to create objects with real content. */ - HYDROData_Region(); + HYDRODATA_EXPORT HYDROData_Region(); /** * Destructs properties of the object and object itself, removes it from the document. */ - ~HYDROData_Region(); + HYDRODATA_EXPORT ~HYDROData_Region(); }; #endif