#include <TopoDS_Face.hxx>
#include <TopoDS_Wire.hxx>
-class Handle(HYDROData_Polyline3D);
-class Handle(HYDROData_Profile);
-class TopTools_SequenceOfShape;
-class TopTools_ListOfShape;
-
-DEFINE_STANDARD_HANDLE(HYDROData_Channel, HYDROData_ArtificialObject)
+class HYDROData_Polyline3D;
+class HYDROData_Profile;
/**\class HYDROData_Channel
* \brief
DataTag_First = HYDROData_ArtificialObject::DataTag_First + 100, ///< first tag, to reserve
DataTag_GuideLine,
DataTag_Profile,
+ DataTag_EquiDistance,
};
public:
-
- DEFINE_STANDARD_RTTI(HYDROData_Channel);
+ DEFINE_STANDARD_RTTIEXT(HYDROData_Channel, HYDROData_ArtificialObject);
public:
*/
HYDRODATA_EXPORT static bool CreatePresentations( const Handle(HYDROData_Polyline3D)& theGuideLine,
const Handle(HYDROData_Profile)& theProfile,
- PrsDefinition& thePrs );
+ PrsDefinition& thePrs,
+ double theEquiDistance );
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.
*/
HYDRODATA_EXPORT virtual void RemoveProfile();
+ HYDRODATA_EXPORT void SetEquiDistance( double );
+ HYDRODATA_EXPORT double GetEquiDistance() const;
protected:
/**