*/
HYDRODATA_EXPORT virtual 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 <outPar> returns a common length of segments till the intersection point.
+ */
+ HYDRODATA_EXPORT 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.
* if axis presented by set of edges the <outPar> returns a common length of segments till the intersection point.
*/
HYDRODATA_EXPORT virtual bool HasIntersection( const Handle(HYDROData_Profile)& theProfile, const TopoDS_Face& thePlane,
- Standard_Real& outPar) const;
+ Standard_Real& outPar) const;
/**
* Builds a planar face
*/
void updateProfilesOrder();
+ /**
+ * Create all necessary child group objects.
+ */
+ HYDRODATA_EXPORT virtual void createGroupObjects();
+
/**
* Builds b-spline using interpolation algorithm.
*/