X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_IAltitudeObject.sip;h=1e93fdcfe86c3e57f7d2a8c9b72e9ef7b556a5be;hb=3bece499e83cc9ca95536228c7f6740030e9d5d8;hp=e1e2742cc80e7c055bd24d3e8a11f955f7eec35e;hpb=b2b21a9b49f0df8f53c3a1bcb459a4ec081a84ec;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_IAltitudeObject.sip b/src/HYDROPy/HYDROData_IAltitudeObject.sip index e1e2742c..1e93fdcf 100644 --- a/src/HYDROPy/HYDROData_IAltitudeObject.sip +++ b/src/HYDROPy/HYDROData_IAltitudeObject.sip @@ -37,7 +37,7 @@ class HYDROData_IAltitudeObject : public HYDROData_Entity /Abstract/ case KIND_ALTITUDE: sipClass = sipClass_HYDROData_AltitudeObject; break; - + case KIND_STREAM_ALTITUDE: sipClass = sipClass_HYDROData_StreamAltitude; break; @@ -52,7 +52,7 @@ class HYDROData_IAltitudeObject : public HYDROData_Entity /Abstract/ #include %End -public: +public: // Public methods to work with altitudes. /** @@ -67,10 +67,10 @@ public: * \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 ); - + Py_BEGIN_ALLOW_THREADS sipRes = sipCpp->GetAltitudeForPoint( aPnt ); Py_END_ALLOW_THREADS @@ -80,11 +80,11 @@ public: sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "d", &sipRes); %End - + 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();