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
Correction for hydro_test
[modules/hydro.git]
/
src
/
HYDROPy
/
HYDROData_IAltitudeObject.sip
diff --git
a/src/HYDROPy/HYDROData_IAltitudeObject.sip
b/src/HYDROPy/HYDROData_IAltitudeObject.sip
index a99cc9cc5e31bfabfc3a639f7f4747e6452e3cee..1e93fdcfe86c3e57f7d2a8c9b72e9ef7b556a5be 100644
(file)
--- a/
src/HYDROPy/HYDROData_IAltitudeObject.sip
+++ b/
src/HYDROPy/HYDROData_IAltitudeObject.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
// 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
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-41,7
+37,7
@@
class HYDROData_IAltitudeObject : public HYDROData_Entity /Abstract/
case KIND_ALTITUDE:
sipClass = sipClass_HYDROData_AltitudeObject;
break;
case KIND_ALTITUDE:
sipClass = sipClass_HYDROData_AltitudeObject;
break;
-
+
case KIND_STREAM_ALTITUDE:
sipClass = sipClass_HYDROData_StreamAltitude;
break;
case KIND_STREAM_ALTITUDE:
sipClass = sipClass_HYDROData_StreamAltitude;
break;
@@
-56,7
+52,7
@@
class HYDROData_IAltitudeObject : public HYDROData_Entity /Abstract/
#include <HYDROData_IAltitudeObject.h>
%End
#include <HYDROData_IAltitudeObject.h>
%End
-public:
+public:
// Public methods to work with altitudes.
/**
// Public methods to work with altitudes.
/**
@@
-71,10
+67,10
@@
public:
* \return altitude value
*/
virtual double GetAltitudeForPoint( const double theCoordX,
* \return altitude value
*/
virtual double GetAltitudeForPoint( const double theCoordX,
- const double theCoordX ) const = 0 [double ( const gp_XY&
)];
+ const double theCoordX ) const = 0 [double ( const gp_XY&
, int
)];
%MethodCode
gp_XY aPnt( a0, a1 );
%MethodCode
gp_XY aPnt( a0, a1 );
-
+
Py_BEGIN_ALLOW_THREADS
sipRes = sipCpp->GetAltitudeForPoint( aPnt );
Py_END_ALLOW_THREADS
Py_BEGIN_ALLOW_THREADS
sipRes = sipCpp->GetAltitudeForPoint( aPnt );
Py_END_ALLOW_THREADS
@@
-84,11
+80,11
@@
public:
sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "d", &sipRes);
%End
sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "d", &sipRes);
%End
-
+
protected:
/**
protected:
/**
- * Creates new object in the internal data structure. Use higher level objects
+ * Creates new object in the internal data structure. Use higher level objects
* to create objects with real content.
*/
HYDROData_IAltitudeObject();
* to create objects with real content.
*/
HYDROData_IAltitudeObject();