X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Polyline3D.h;h=1975afaff26a0dfd559f3e19c4dea2d563c1ab40;hb=c7cf59e092fe050003d1e556715e3ac97acf6bd4;hp=98d655ec971e0a67d8d8b7e500106a17d62d4ace;hpb=2205c7977ef77f5d62d91997811ec1c79590d6ad;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Polyline3D.h b/src/HYDROData/HYDROData_Polyline3D.h index 98d655ec..1975afaf 100644 --- a/src/HYDROData/HYDROData_Polyline3D.h +++ b/src/HYDROData/HYDROData_Polyline3D.h @@ -1,3 +1,24 @@ +// Copyright (C) 2007-2015 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 +// +// 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, 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 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef HYDROData_Polyline3D_HeaderFile #define HYDROData_Polyline3D_HeaderFile @@ -118,13 +139,13 @@ public: * Set reference bathymetry object for geometry object. * Reimplemented to remove reference u,z profile. */ - HYDRODATA_EXPORT virtual bool SetBathymetry( const Handle(HYDROData_Bathymetry)& theBathymetry ); + HYDRODATA_EXPORT virtual bool SetAltitudeObject( const Handle(HYDROData_IAltitudeObject)& theAltitude ); /** * Clear the reference bathymetry object for geometry object. * Reimplemented to remove child u,z profile. */ - HYDRODATA_EXPORT virtual void RemoveBathymetry(); + HYDRODATA_EXPORT virtual void RemoveAltitudeObject(); /** @@ -132,6 +153,11 @@ public: */ HYDRODATA_EXPORT Handle(HYDROData_ProfileUZ) GetChildProfileUZ( const bool theIsCreate = true ) const; + /** + * Sets the child u,z profile for polyline. + */ + HYDRODATA_EXPORT void SetChildProfileUZ( const Handle(HYDROData_ProfileUZ)& theProfile ); + protected: