0022048: Visualization, AIS_InteractiveContext - single object selection should alway...
[occt.git] / src / TopClass / TopClass_Classifier3d.gxx
index 4513d16..a5a77b0 100644 (file)
@@ -36,7 +36,9 @@ void TopClass_Classifier3d::Reset(const gp_Lin&       L,
 void TopClass_Classifier3d::Compare(const TopoDS_Face&        Face,
                                    const TopAbs_Orientation) {  
   if(!isSet) { 
+#ifdef OCCT_DEBUG
     cout<<" Call to TopClass_Classifier3d::Compare  without a Reset ! ";
+#endif
     return;
   }
 
@@ -50,7 +52,9 @@ void TopClass_Classifier3d::Compare(const TopoDS_Face&        Face,
        myFace  = myIntersector.Face(); 
        if(Abs(myParam)<=myTolerance) { 
          //-- #########################################
+#ifdef OCCT_DEBUG
          cout<<" myParam = "<<myParam<<" ds TopClass_Classifier3d.gxx  "<<endl;
+#endif
          //-- #########################################
          myState = TopAbs_ON;
        }
@@ -64,9 +68,11 @@ void TopClass_Classifier3d::Compare(const TopoDS_Face&        Face,
          else if(myIntersector.Transition() == IntCurveSurface_In) { 
            myState = TopAbs_OUT;
          }
-         else { 
+#ifdef OCCT_DEBUG
+    else { 
            cout<<" -------- Probleme ds TopClass_Classifier3d.gxx "<<endl;
-         }
+    }
+#endif
        }
       }
       else {