X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_LinearInterpolator.cxx;h=aea863d188b14afb8b845cee2a97b1018660e788;hb=f9d37ee66fa46871478d806faa54de237225d3c6;hp=fedb3f12b8b9066f03c68817876060a042fa9167;hpb=ca0608cb7f006c4c53ab5990c37be86457935b05;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_LinearInterpolator.cxx b/src/HYDROData/HYDROData_LinearInterpolator.cxx index fedb3f12..aea863d1 100644 --- a/src/HYDROData/HYDROData_LinearInterpolator.cxx +++ b/src/HYDROData/HYDROData_LinearInterpolator.cxx @@ -1,8 +1,4 @@ -// 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 -// +// 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 @@ -21,7 +17,8 @@ // #include "HYDROData_LinearInterpolator.h" - +#include +#include HYDROData_LinearInterpolator::HYDROData_LinearInterpolator() { @@ -31,9 +28,9 @@ HYDROData_LinearInterpolator::~HYDROData_LinearInterpolator() { } -std::string HYDROData_LinearInterpolator::GetDescription() const +TCollection_AsciiString HYDROData_LinearInterpolator::GetDescription() const { - std::string aDescription( "Simple linear interpolator" ); + TCollection_AsciiString aDescription( "Simple linear interpolator" ); return aDescription; } @@ -44,8 +41,8 @@ void HYDROData_LinearInterpolator::Calculate() ClearResults(); // Check input data - std::vector aProfile1 = GetFirstProfile(); - std::vector aProfile2 = GetSecondProfile(); + std::vector aProfile1 = GetFirstProfileCoords(); + std::vector aProfile2 = GetSecondProfileCoords(); int aNbProfilesToCompute = GetNbProfilesToCompute(); int aSize1 = aProfile1.size(); @@ -107,4 +104,4 @@ void HYDROData_LinearInterpolator::Calculate() } SetErrorCode( aStatus ); -} \ No newline at end of file +}