Salome HOME
Bug #478: unresolved conflicts appear again when Edit calculation case in Manual...
[modules/hydro.git] / src / HYDROPy / HYDROData_Zone.sip
index 17f7e42bc14d38cf3fe319f3abb4e04bff045e32..5200984b889075dea5a38b543770ff13b8193611 100644 (file)
@@ -24,7 +24,7 @@
 #include <HYDROData_Zone.h>
 %End
 
-class HYDROData_Zone : HYDROData_Entity
+class HYDROData_Zone : public HYDROData_Entity
 {
 
 %ConvertToSubClassCode
@@ -138,6 +138,20 @@ public:
    */
   void RemoveGeometryObjects();
 
+
+  /**
+   * Sets the interpolator for zone. By default it is NULL and original
+   * interpolation algorithms are used to calculate points altitudes.
+   * If you set interpolator it won't be stored in the data model structure,
+   * it will be deleted during that time as this zone will be freed.
+   */
+  void SetInterpolator( HYDROData_IInterpolator* theInter );
+
+  /**
+   * * Returns the interpolator of zone object.
+   */
+  HYDROData_IInterpolator* GetInterpolator() const;
+
 protected:
 
   /**