X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_CalculationCase.h;h=74a128e0988751fe2f468b877ff8e50b1a70cadf;hb=4659606cd0b30ee7b8c33bec27913ba5c8414b92;hp=4ee079d6f47be5e7a016eaf22c5ba7d290ef91fb;hpb=58bb6b7459bebeeb089c9ed486c4683a8bae7288;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_CalculationCase.h b/src/HYDROData/HYDROData_CalculationCase.h index 4ee079d6..74a128e0 100644 --- a/src/HYDROData/HYDROData_CalculationCase.h +++ b/src/HYDROData/HYDROData_CalculationCase.h @@ -54,6 +54,7 @@ class HYDROData_SplitShapesGroup; class HYDROData_Document; class HYDROData_StricklerTable; class HYDROData_LandCoverMap; +class HYDROData_BCPolygon; /**\class HYDROData_CalculationCase * \brief Calculation case is defined by selection of Geometry objects with or without �Zone of water�. @@ -102,6 +103,7 @@ public: DataTag_LandCoverRegion_Obsolete, ///< reference land cover regions DataTag_LandCoverMap, ///< reference to land cover map + DataTag_BCPolygon ///< reference boundary polygons }; public: @@ -277,6 +279,12 @@ public: HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetInterPolyObjects() const; + HYDRODATA_EXPORT virtual bool AddBoundaryPolygon( const Handle(HYDROData_BCPolygon)& theBCPolygon ); + + HYDRODATA_EXPORT virtual void RemoveBoundaryPolygon( const Handle(HYDROData_BCPolygon)& theBCPolygon ); + + HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetBoundaryPolygons() const; + /** * Exports the calculation case data (shell and groups) to GEOM module. * \param theStudyId the id of the study where the GEOM module should be used for export @@ -341,6 +349,8 @@ public: double DefValue, bool UseMax ) const; + HYDRODATA_EXPORT std::vector GetStricklerTypeForPoints( const std::vector& thePoints ) const; + /** * Returns altitudes for given points on given region. * \param thePoints the points to examine