#define HYDROData_PolylineOperator_HeaderFile
#include <HYDROData_PolylineXY.h>
-
-class gp_Pnt2d;
+#include <Geom2d_Curve.hxx>
+#include <gp_Pnt2d.hxx>
+#include <vector>
class HYDROData_PolylineOperator
{
const Handle( HYDROData_PolylineXY )& theTool ) const;
HYDRODATA_EXPORT bool Split( const HYDROData_SequenceOfObjects& thePolylines );
HYDRODATA_EXPORT bool Merge( const HYDROData_SequenceOfObjects& thePolylines );
+
+ static HYDRODATA_EXPORT std::vector<Handle( Geom2d_Curve )> GetCurves( const Handle( HYDROData_PolylineXY )& thePolyline );
+
+ static HYDRODATA_EXPORT std::vector<gp_Pnt2d> Intersection( const Handle( Geom2d_Curve )& theCurve,
+ const Handle( Geom2d_Curve )& theTool );
+
+ static HYDRODATA_EXPORT std::vector<Handle( Geom2d_Curve )> Split( const Handle( Geom2d_Curve )& theCurve,
+ const std::vector<gp_Pnt2d>& thePoints );
+
+ static HYDRODATA_EXPORT bool CreatePolylines( const std::vector<Handle( Geom2d_Curve )>& theCurves );
};
#endif