Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
porting : eliminate comp. errors
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_AltitudeObject.cxx
diff --git
a/src/HYDROData/HYDROData_AltitudeObject.cxx
b/src/HYDROData/HYDROData_AltitudeObject.cxx
index 1014395404e13ca26d4e27921d00796aaa95cb41..6a28d989b97b5b81635a045b2acb7383273d5cfd 100644
(file)
--- a/
src/HYDROData/HYDROData_AltitudeObject.cxx
+++ b/
src/HYDROData/HYDROData_AltitudeObject.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
// 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
@@
-25,7
+21,9
@@
#include <QStringList>
#include <QStringList>
-IMPLEMENT_STANDARD_HANDLE(HYDROData_AltitudeObject, HYDROData_IAltitudeObject)
+#define _DEVDEBUG_
+#include "HYDRO_trace.hxx"
+
IMPLEMENT_STANDARD_RTTIEXT(HYDROData_AltitudeObject, HYDROData_IAltitudeObject)
HYDROData_AltitudeObject::HYDROData_AltitudeObject()
IMPLEMENT_STANDARD_RTTIEXT(HYDROData_AltitudeObject, HYDROData_IAltitudeObject)
HYDROData_AltitudeObject::HYDROData_AltitudeObject()
@@
-37,7
+35,8
@@
HYDROData_AltitudeObject::~HYDROData_AltitudeObject()
{
}
{
}
-QStringList HYDROData_AltitudeObject::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+QStringList HYDROData_AltitudeObject::DumpToPython( const QString& thePyScriptPath,
+ MapOfTreatedObjects& theTreatedObjects ) const
{
QStringList aResList = dumpObjectCreation( theTreatedObjects );
QString aName = GetObjPyName();
{
QStringList aResList = dumpObjectCreation( theTreatedObjects );
QString aName = GetObjPyName();
@@
-45,14
+44,16
@@
QStringList HYDROData_AltitudeObject::DumpToPython( MapOfTreatedObjects& theTrea
// TODO
aResList << QString( "" );
// TODO
aResList << QString( "" );
- aResList << QString( "%1.Update()
;
" ).arg( aName );
+ aResList << QString( "%1.Update()" ).arg( aName );
aResList << QString( "" );
return aResList;
}
aResList << QString( "" );
return aResList;
}
-double HYDROData_AltitudeObject::GetAltitudeForPoint( const gp_XY& thePoint ) const
+double HYDROData_AltitudeObject::GetAltitudeForPoint( const gp_XY& thePoint,
+ int theMethod) const
{
{
+ DEBTRACE("HYDROData_AltitudeObject::GetAltitudeForPoint");
double aResAltitude = GetInvalidAltitude();
return aResAltitude;
double aResAltitude = GetInvalidAltitude();
return aResAltitude;