X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Channel.h;h=3e069097a2aab3e2dd6a101eaab2e4205f2a9f48;hb=c5ae2ec8ffa7b30a77bcef4fbb316c6ece4928b5;hp=0cd9c4a1235f44c16b6b54741ab7579bf4ce9cc4;hpb=6527cd5d3063b2724b60b3f87ed1105244b74cb3;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Channel.h b/src/HYDROData/HYDROData_Channel.h index 0cd9c4a1..3e069097 100644 --- a/src/HYDROData/HYDROData_Channel.h +++ b/src/HYDROData/HYDROData_Channel.h @@ -58,6 +58,7 @@ protected: DataTag_First = HYDROData_ArtificialObject::DataTag_First + 100, ///< first tag, to reserve DataTag_GuideLine, DataTag_Profile, + DataTag_EquiDistance, }; public: @@ -71,7 +72,8 @@ public: */ HYDRODATA_EXPORT static bool CreatePresentations( const Handle(HYDROData_Polyline3D)& theGuideLine, const Handle(HYDROData_Profile)& theProfile, - PrsDefinition& thePrs ); + PrsDefinition& thePrs, + double theEquiDistance ); public: @@ -101,16 +103,6 @@ public: */ HYDRODATA_EXPORT virtual TopoDS_Shape GetRightShape() const; - /** - * Returns the left edge of the channel. - */ - HYDRODATA_EXPORT virtual TopoDS_Shape GetLeftShape() const; - - /** - * Returns the right edge of the channel. - */ - HYDRODATA_EXPORT virtual TopoDS_Shape GetRightShape() const; - /** * Update the shape presentations of stream. * Call this method whenever you made changes for channel data. @@ -167,6 +159,8 @@ public: */ HYDRODATA_EXPORT virtual void RemoveProfile(); + HYDRODATA_EXPORT void SetEquiDistance( double ); + HYDRODATA_EXPORT double GetEquiDistance() const; protected: /**