X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_Zone.sip;h=6a1aba28ab0d6c335952f1ad40e48a0f089eae92;hb=5ff8b7c83d889d383998207a55792c165afbf146;hp=17f7e42bc14d38cf3fe319f3abb4e04bff045e32;hpb=185fe26122f4932fe3603721213c40bb14668896;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_Zone.sip b/src/HYDROPy/HYDROData_Zone.sip index 17f7e42b..6a1aba28 100644 --- a/src/HYDROPy/HYDROData_Zone.sip +++ b/src/HYDROPy/HYDROData_Zone.sip @@ -1,12 +1,8 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// Copyright (C) 2014-2015 EDF-R&D // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -24,7 +20,7 @@ #include %End -class HYDROData_Zone : HYDROData_Entity +class HYDROData_Zone : public HYDROData_Entity { %ConvertToSubClassCode @@ -138,6 +134,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: /**