-// File: TopOpeBRep_FaceEdgeFiller.cxx
-// Created: Wed Jun 14 16:54:03 1995
-// Author: Jean Yves LEBEY
-// <jyl@meteox>
+// Created on: 1995-06-14
+// Created by: Jean Yves LEBEY
+// Copyright (c) 1995-1999 Matra Datavision
+// Copyright (c) 1999-2014 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and / or modify it
+// under the terms of the GNU Lesser General Public version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
#include <TopOpeBRep_FaceEdgeFiller.ixx>
#include <gp_Pnt2d.hxx>
#ifdef DEB
-Standard_IMPORT void FEINT_DUMPPOINTS(TopOpeBRep_FaceEdgeIntersector& FEINT,
+extern void FEINT_DUMPPOINTS(TopOpeBRep_FaceEdgeIntersector& FEINT,
const TopOpeBRepDS_DataStructure& BDS);
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
#endif
//=======================================================================
// --- Add <FF,EE> in BDS
Standard_Integer FFindex = BDS.AddShape(FF,1);
-#ifdef DEB
- Standard_Integer EEindex =
-#endif
BDS.AddShape(EE,2);
// --- get list of interferences connected to edges <FF>,<EE>
// append I to list LI
LI.Append(I);
+#ifdef DEB
Standard_Boolean appendtoG = Standard_False;
+#endif
Standard_Integer G = I->Geometry();
// append I to list of interference connected to G = I->Geometry()
break;
case TopOpeBRepDS_SURFACE :
+#ifdef DEB
appendtoG = Standard_True;
+#endif
BDS.ChangeSurfaceInterferences(G).Append(I);
break;
case TopOpeBRepDS_CURVE :
+#ifdef DEB
appendtoG = Standard_True;
+#endif
BDS.ChangeCurveInterferences(G).Append(I);
break;
// appendtoG = Standard_True;
// BDS.ChangePointInterferences(G).Append(I);
break;
-#ifndef DEB
default:
break;
-#endif
-
}
#ifdef DEB
(TopOpeBRep_FaceEdgeIntersector& FEINT,
TopOpeBRepDS_DataStructure& BDS) const
{
-#ifdef DEB
- Standard_Integer G;
-#else
Standard_Integer G=0;
-#endif
TopoDS_Vertex V1;
Standard_Boolean isvertexF = FEINT.IsVertex(1,V1);