From: rkv Date: Fri, 10 Jan 2014 12:39:01 +0000 (+0000) Subject: SIP: HYDROData_Stream is included. X-Git-Tag: BR_hydro_v_1_0~114 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e9f46d8c7fb4636b279c2d1435b7a304a155d9fb;p=modules%2Fhydro.git SIP: HYDROData_Stream is included. --- diff --git a/src/HYDROPy/HYDROData_AltitudeObject.sip b/src/HYDROPy/HYDROData_AltitudeObject.sip index bbab41f0..e7fc9d43 100644 --- a/src/HYDROPy/HYDROData_AltitudeObject.sip +++ b/src/HYDROPy/HYDROData_AltitudeObject.sip @@ -31,17 +31,6 @@ class HYDROData_AltitudeObject : public HYDROData_IAltitudeObject #include %End -public: - - // Public methods to work with altitudes. - - /** - * Returns altitude for given point. - * \param thePoint the point to examine - * \return altitude value - */ - virtual double GetAltitudeForPoint( const gp_XY& thePoint ) const; - protected: /** diff --git a/src/HYDROPy/HYDROData_IAltitudeObject.sip b/src/HYDROPy/HYDROData_IAltitudeObject.sip index 369bf408..0dc512a0 100644 --- a/src/HYDROPy/HYDROData_IAltitudeObject.sip +++ b/src/HYDROPy/HYDROData_IAltitudeObject.sip @@ -61,6 +61,13 @@ public: */ static double GetInvalidAltitude(); + /** + * Returns altitude for given point. + * \param thePoint the point to examine + * \return altitude value + */ + virtual double GetAltitudeForPoint( const gp_XY& thePoint ) const = 0; + protected: /** diff --git a/src/HYDROPy/HYDROData_Stream.sip b/src/HYDROPy/HYDROData_Stream.sip index 6fc7a002..07c05255 100644 --- a/src/HYDROPy/HYDROData_Stream.sip +++ b/src/HYDROPy/HYDROData_Stream.sip @@ -62,30 +62,6 @@ public: } %End -public: - // Public methods to work with Stream presentation - - /** - * Returns the left edge of the stream. - */ -// virtual TopoDS_Shape GetLeftShape() const; - - /** - * Returns the right edge of the stream. - */ -// virtual TopoDS_Shape GetRightShape() const; - - /** - * Returns the inlet edge of the stream. - */ -// virtual TopoDS_Shape GetInletShape() const; - - /** - * Returns the outlet edge of the stream. - */ -// virtual TopoDS_Shape GetOutletShape() const; - - public: // Public methods to work with Stream data fields @@ -127,28 +103,6 @@ public: */ void RemoveHydraulicAxis(); - /** - * Returns true if profile has the intersection with the given hydraulic axis. - * Returns the parameter of inresection point on axis if axis is presented by one curve, - * if axis presented by set of edges the returns a common length of segments till the intersection point. - */ -// static bool HasIntersection( const Handle(HYDROData_PolylineXY)& theHydAxis, -// const Handle(HYDROData_Profile)& theProfile, const TopoDS_Face& thePlane, -// Standard_Real& outPar); - - /** - * Returns true if profile has the intersection with reference hydraulic axis. - * Returns the parameter of inresection point on axis if axis is presented by one curve, - * if axis presented by set of edges the returns a common length of segments till the intersection point. - */ -// bool HasIntersection( const Handle(HYDROData_Profile)& theProfile, const TopoDS_Face& thePlane, -// Standard_Real& outPar) const; - - /** - * Builds a planar face - */ -// bool BuildFace( const Handle(HYDROData_PolylineXY)& theHydAxis, TopoDS_Face& thePlane) const; - /** * Add new one reference profile object for stream. */