case KIND_ALTITUDE:
sipClass = sipClass_HYDROData_AltitudeObject;
break;
-
+
case KIND_STREAM_ALTITUDE:
sipClass = sipClass_HYDROData_StreamAltitude;
break;
#include <HYDROData_IAltitudeObject.h>
%End
-public:
+public:
// Public methods to work with altitudes.
/**
* \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
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();