X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Curve.hxx;h=3c41e711c760d2e8428d70f54395ba9bf45b69e0;hb=dc34ffaf3febe0112406def578ba7e1cb41f4ae7;hp=24a216cf6d0a4f2f06aada35384b9ca330dc3b9f;hpb=26e583f66a1d492ebe7d2cab874273697e455f8c;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Curve.hxx b/src/HYDROCurveCreator/CurveCreator_Curve.hxx index 24a216cf..3c41e711 100644 --- a/src/HYDROCurveCreator/CurveCreator_Curve.hxx +++ b/src/HYDROCurveCreator/CurveCreator_Curve.hxx @@ -110,9 +110,6 @@ public: // TODO: remove public protected: // TODO: remove public void redisplayCurve(); - void convert( const SectionToPointList &thePoints, - std::map > &theConvPoints ); - public: /************ Implementation of INTERFACE methods ************/ @@ -266,6 +263,23 @@ public: */ virtual Handle_AIS_InteractiveObject getAISObject( const bool theNeedToBuild = false ) const; +protected: + /** + * Removes the points from the section. It sortes the points and remove them + * in the decreasing order + * \param theSectionId a section index + * \param thePointIds a list of section points + */ + bool removeSectionPoints( const int theSectionId, + const std::list& thePointIds ); + /** + * Converts the list of pairs of section to point into map of a section to list of points + * \param thePoints an source list + * \param theConvPoints a converted map + */ + void convert( const SectionToPointList &thePoints, + std::map > &theConvPoints ); + protected: virtual void constructAISObject();