From: adv Date: Fri, 13 Dec 2013 07:01:35 +0000 (+0000) Subject: Comments moved. X-Git-Tag: BR_hydro_v_0_5~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c52bda48bea5753316f128f52a3be1abb5aff055;p=modules%2Fhydro.git Comments moved. --- diff --git a/src/HYDROData/HYDROData_CalculationCase.cxx b/src/HYDROData/HYDROData_CalculationCase.cxx index b8439721..5a5b3ad2 100644 --- a/src/HYDROData/HYDROData_CalculationCase.cxx +++ b/src/HYDROData/HYDROData_CalculationCase.cxx @@ -633,10 +633,6 @@ HYDROData_CalculationCase::PointClassification HYDROData_CalculationCase::GetPoi if ( aZoneFace.IsNull() ) return aRes; - // TODO: classify the point position relative to zone - // POINT_OUT - point is out of zone face - // POINT_IN - point is inside of zone face - // POINT_ON - point is on the edge of zone face BRepTopAdaptor_FClass2d aClassifier( aZoneFace, Precision::Confusion() ); TopAbs_State State = aClassifier.Perform( gp_Pnt2d(thePoint), Standard_False ); if (State == TopAbs_OUT) diff --git a/src/HYDROData/HYDROData_CalculationCase.h b/src/HYDROData/HYDROData_CalculationCase.h index b4a8261d..7992f37a 100644 --- a/src/HYDROData/HYDROData_CalculationCase.h +++ b/src/HYDROData/HYDROData_CalculationCase.h @@ -27,9 +27,9 @@ public: enum PointClassification { - POINT_OUT, - POINT_IN, - POINT_ON + POINT_OUT, ///< point is out of zone face + POINT_IN, ///< point is inside of zone face + POINT_ON ///< point is on the edge of zone face }; protected: