- HYDRODATA_EXPORT static bool CreatePresentations( const Handle(HYDROData_PolylineXY)& theHydAxis,
- const HYDROData_SequenceOfObjects& theProfiles,
- PrsDefinition& thePrs );
+ HYDRODATA_EXPORT static bool CreatePresentations( const Handle_HYDROData_DTM& theDTM,
+ PrsDefinition& thePrs );
+
+ /**
+ * Creates the presentations(2D and 3D) by given first points, last points and profiles.
+ * If 2D profiles is null - they will not used in the presentation.
+ */
+ HYDRODATA_EXPORT static bool CreatePresentations( const TopoDS_Edge& theLeftBank,
+ const TopoDS_Edge& theRightBank,
+ const std::vector<TopoDS_Wire>& theProfiles3d,
+ PrsDefinition& thePrs );