]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Comments moved.
authoradv <adv@opencascade.com>
Fri, 13 Dec 2013 07:01:35 +0000 (07:01 +0000)
committeradv <adv@opencascade.com>
Fri, 13 Dec 2013 07:01:35 +0000 (07:01 +0000)
src/HYDROData/HYDROData_CalculationCase.cxx
src/HYDROData/HYDROData_CalculationCase.h

index b84397216cb82ac1731074b6b31fc4c57593881a..5a5b3ad2dc78fe86434a6d11b93dcf041520135c 100644 (file)
@@ -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)
index b4a8261db2045b8b8c7c88b89fb14af15dfd4f30..7992f37a0c984d79c5e1484108c78467ca85d677 100644 (file)
@@ -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: