#include <DrawTrSurf.hxx>
#endif
-#if GEOMFILL_DEB
+#ifdef OCCT_DEBUG
static void TracePlan(const Handle(Geom_Surface)& /*Plan*/)
{
cout << "Pas d'intersection Guide/Plan" << endl;
Int.Perform(myTrimG, Pl); // intersection plan / guide
if (Int.NbPoints() == 0) {
-#if GEOMFILL_DEB
+#ifdef OCCT_DEBUG
TracePlan(Plan);
#endif
w = (fabs(myGuide->LastParameter() -w) > fabs(myGuide->FirstParameter()-w) ? myGuide->FirstParameter() : myGuide->LastParameter());
}
}
-#if GEOMFILL_DEB
+#ifdef OCCT_DEBUG
if (Abs(Diff) > DeltaG) {
cout << "Trihedron Plan Diff on Guide : " <<
Diff << endl;
BiNormal.Normalized();
}
else { // Erreur...
-#if GEOMFILL_DEB
+#ifdef OCCT_DEBUG
cout << "D0 :";
// plan ortho a la trajectoire pour determiner Pprime
Handle(Geom_Plane) Plan = new (Geom_Plane)(P, Tangent);
DTangent.Crossed(Normal));
}
else {// Erreur...
-#if GEOMFILL_DEB
+#ifdef OCCT_DEBUG
cout << "D1 :";
// plan ortho a la trajectoire
Handle(Geom_Plane) Plan = new (Geom_Plane)(P, Tangent);
Tangent.Crossed(D2Normal));
}
else {// Erreur...
-#if DEB
+#ifdef OCCT_DEBUG
cout << "D2 :";
TracePlan(Plan);
#endif