-// 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
//
#include "HYDROData_LinearInterpolator.h"
-
+#include <cstdlib>
+#include <cmath>
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;
}
ClearResults();
// Check input data
- std::vector<double> aProfile1 = GetFirstProfile();
- std::vector<double> aProfile2 = GetSecondProfile();
+ std::vector<double> aProfile1 = GetFirstProfileCoords();
+ std::vector<double> aProfile2 = GetSecondProfileCoords();
int aNbProfilesToCompute = GetNbProfilesToCompute();
int aSize1 = aProfile1.size();
}
SetErrorCode( aStatus );
-}
\ No newline at end of file
+}