1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0023664: Eliminate linker warnings on import of local symbol

Standard_IMPORT removed or replaced by 'export' where it applies to a symbol defined in the same toolkit
This commit is contained in:
abv
2012-12-23 10:08:16 +04:00
parent 9254e07c59
commit 1d0a9d4d46
107 changed files with 300 additions and 377 deletions

View File

@@ -29,8 +29,8 @@
#include <TopAbs.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceAREA();
Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
extern Standard_Boolean TopOpeBRepBuild_GettraceAREA();
extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
#endif
//=======================================================================

View File

@@ -23,7 +23,7 @@
#include <TopOpeBRepBuild_Loop.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceAREA();
extern Standard_Boolean TopOpeBRepBuild_GettraceAREA();
#endif
//=======================================================================

View File

@@ -30,7 +30,9 @@
#include <Standard_DomainError.hxx>
#include <TopAbs.hxx>
Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
#ifdef DEB
extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
#endif
//=======================================================================
//function : TopOpeBRepBuild_AreaBuilder

View File

@@ -27,7 +27,7 @@
#include <TopOpeBRepBuild_define.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCU();
extern Standard_Boolean TopOpeBRepBuild_GettraceCU();
#endif
//=======================================================================

View File

@@ -28,12 +28,12 @@
#include <BRep_Builder.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCU();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCUV();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPF();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextSF2();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSHEX();
extern Standard_Boolean TopOpeBRepBuild_GettraceCU();
extern Standard_Boolean TopOpeBRepBuild_GettraceCUV();
extern Standard_Boolean TopOpeBRepBuild_GettraceSPF();
extern Standard_Boolean TopOpeBRepBuild_GettraceSPS();
extern Standard_Boolean TopOpeBRepBuild_GetcontextSF2();
extern Standard_Boolean TopOpeBRepBuild_GettraceSHEX();
#endif
//=======================================================================

View File

@@ -48,12 +48,12 @@
#include <TopOpeBRepBuild_define.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCU();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCUV();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPF();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextSF2();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSHEX();
extern Standard_Boolean TopOpeBRepBuild_GettraceCU();
extern Standard_Boolean TopOpeBRepBuild_GettraceCUV();
extern Standard_Boolean TopOpeBRepBuild_GettraceSPF();
extern Standard_Boolean TopOpeBRepBuild_GettraceSPS();
extern Standard_Boolean TopOpeBRepBuild_GetcontextSF2();
extern Standard_Boolean TopOpeBRepBuild_GettraceSHEX();
Standard_EXPORT void debmarksplit(const Standard_Integer i) {cout<<"++ debmarksplit "<<i<<endl;}
Standard_EXPORT void debchangesplit(const Standard_Integer i) {cout<<"++ debchangesplit "<<i<<endl;}
#endif

View File

@@ -58,7 +58,7 @@ static TopAbs_State ClassifyEdgeToFaceByOnePoint(const TopoDS_Edge& E,
//because new algo can not be used in LocOpe and Mechanical Features (for the moment)
//that's why we use new algo only in BRepAlgoAPI_BooleanOperation
//in all other cases old algo is called (see the methods GFillSolidSFS, GFillShellSFS, etc.);
Standard_EXPORT Standard_Boolean GLOBAL_USE_NEW_BUILDER = Standard_False;
Standard_Boolean GLOBAL_USE_NEW_BUILDER = Standard_False;
//=======================================================================
//function : Constructor
@@ -1013,7 +1013,7 @@ void TopOpeBRepBuild_Builder1::GFillEdgeSameDomWES(const TopoDS_Shape& EOR,
}
} // GFillEdgeWES
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
extern Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
//=======================================================================
//function : PerformONParts

View File

@@ -75,7 +75,7 @@ static TopTools_IndexedMapOfShape processedEdges;
static TopTools_IndexedMapOfShape theUsedVertexMap;
static TopTools_MapOfShape theUnkStateVer;
Standard_IMPORT Standard_Boolean GLOBAL_faces2d;
extern Standard_Boolean GLOBAL_faces2d;
//modified by NIZNHY-PKV Mon Dec 16 11:38:55 2002 f
//=======================================================================

View File

@@ -42,7 +42,7 @@
#include <TopOpeBRepTool_FuseEdges.hxx>
#include <Standard_ProgramError.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOFE();
extern Standard_Boolean TopOpeBRepBuild_GetcontextNOFE();
#endif
//=======================================================================

View File

@@ -34,9 +34,9 @@
#include <TopOpeBRepDS_define.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOREGUFA();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextREGUXPU();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSAVFREGU();
extern Standard_Boolean TopOpeBRepBuild_GetcontextNOREGUFA();
extern Standard_Boolean TopOpeBRepBuild_GetcontextREGUXPU();
extern Standard_Boolean TopOpeBRepBuild_GettraceSAVFREGU();
void debregufa(const Standard_Integer /*iF*/) {}
#endif

View File

@@ -61,8 +61,8 @@
#endif
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettracePURGE();
Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
extern Standard_Boolean TopOpeBRepBuild_GettracePURGE();
extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
#include <TopOpeBRepDS_DSX.hxx>
void debifb() {}
#endif

View File

@@ -62,7 +62,7 @@
#include <Precision.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceFUFA();
extern Standard_Boolean TopOpeBRepBuild_GettraceFUFA();
#endif
static void GroupShape(TopTools_ListOfShape&,

View File

@@ -26,7 +26,7 @@
#include <TopOpeBRepBuild_define.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextSPEON();
extern Standard_Boolean TopOpeBRepBuild_GetcontextSPEON();
#endif
//=======================================================================

View File

@@ -58,7 +58,7 @@ Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOSG();
#define M_INTERNAL(st) (st == TopAbs_INTERNAL)
#define M_EXTERNAL(st) (st == TopAbs_EXTERNAL)
Standard_EXPORT Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
//=======================================================================
@@ -237,13 +237,13 @@ void debfillp2(const Standard_Integer i) {cout <<"+ + debfillp2 "<<i<<endl;}
#endif
//Standard_IMPORT extern Standard_Boolean GLOBAL_faces2d;
Standard_IMPORT Standard_Boolean GLOBAL_faces2d;
extern Standard_Boolean GLOBAL_faces2d;
Standard_EXPORT Standard_Boolean FDS_SIisGIofIofSBAofTofI(const TopOpeBRepDS_DataStructure& BDS,const Standard_Integer SI,const Handle(TopOpeBRepDS_Interference)& I);
//Standard_IMPORT extern Standard_Boolean GLOBAL_IEtoMERGE; // xpu240498
Standard_IMPORT Standard_Boolean GLOBAL_IEtoMERGE; // xpu240498
//Standard_IMPORT extern Standard_Integer GLOBAL_issp;
Standard_IMPORT Standard_Integer GLOBAL_issp;
extern Standard_Integer GLOBAL_issp;
//Standard_IMPORT extern Standard_Integer GLOBAL_hassd;
Standard_IMPORT Standard_Integer GLOBAL_hassd;

View File

@@ -43,10 +43,9 @@ Standard_IMPORT void FUN_draw2de (const TopoDS_Shape& ed,const TopoDS_Shape& fa)
#endif
#ifdef DEB
//Standard_IMPORT extern void* GFABUMAKEFACEPWES_DEB;
Standard_IMPORT void* GFABUMAKEFACEPWES_DEB;
extern void* GFABUMAKEFACEPWES_DEB;
#define DEBSHASET(sarg,meth,shaset,str) TCollection_AsciiString sarg((meth));(sarg)=(sarg)+(shaset).DEBNumber()+(str);
Standard_EXPORT Standard_Integer GLOBAL_iexE = 0;
Standard_Integer GLOBAL_iexE = 0;
Standard_EXPORT void debfillw(const Standard_Integer /*i*/) {}
Standard_EXPORT void debfille(const Standard_Integer /*i*/) {}
Standard_EXPORT void debffwesON(const Standard_Integer i) {cout<<"++ debffwesON "<<i<<endl;}
@@ -56,17 +55,13 @@ Standard_EXPORT void debsplite(const Standard_Integer i) {cout<<"++ debsplite "<
Standard_EXPORT void debmergef(const Standard_Integer i) {cout<<"++ debmergef "<<i<<endl;}
Standard_IMPORT void debfctwesmess(const Standard_Integer i,
const TCollection_AsciiString& s = "");
Standard_IMPORT void debaddpwes(const Standard_Integer iFOR,
const TopAbs_State TB1,
const Standard_Integer iEG,
const TopAbs_Orientation neworiE,
const TopOpeBRepBuild_PBuilder& PB,
const TopOpeBRepBuild_PWireEdgeSet& PWES,
const TCollection_AsciiString& str1,
const TCollection_AsciiString& str2);
extern void debaddpwes(const Standard_Integer iFOR, const TopAbs_State TB1, const Standard_Integer iEG,
const TopAbs_Orientation neworiE, const TopOpeBRepBuild_PBuilder& PB,
const TopOpeBRepBuild_PWireEdgeSet& PWES, const TCollection_AsciiString& str1,
const TCollection_AsciiString& str2);
#endif
Standard_EXPORT Standard_Boolean GLOBAL_faces2d = Standard_False;
Standard_Boolean GLOBAL_faces2d = Standard_False;
Standard_EXPORT Standard_Boolean GLOBAL_classifysplitedge = Standard_False;
#define M_IN(st ) (st == TopAbs_IN)
@@ -120,8 +115,8 @@ static Standard_Boolean FUN_BUI_FACESINTERFER(const TopoDS_Shape& F1,
//function :TopOpeBRepBuild_FUN_aresamegeom
//purpose :
//=======================================================================
Standard_EXPORT Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom (const TopoDS_Shape& S1,
const TopoDS_Shape& S2)
Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom (const TopoDS_Shape& S1,
const TopoDS_Shape& S2)
{
TopoDS_Shape SF1 = S1;
SF1.Orientation(TopAbs_FORWARD);

View File

@@ -72,10 +72,10 @@
#ifdef DEB
#define DEBSHASET(sarg,meth,shaset,str) TCollection_AsciiString sarg((meth));(sarg)=(sarg)+(shaset).DEBNumber()+(str);
Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
Standard_EXPORT void debsplitf(const Standard_Integer i){cout<<"++ debsplitf "<<i<<endl;}
Standard_EXPORT void debspanc(const Standard_Integer i){cout<<"++ debspanc "<<i<<endl;}
Standard_EXPORT Standard_Integer GLOBAL_iexF = 0;
Standard_Integer GLOBAL_iexF = 0;
#endif
Standard_EXPORT Handle(Geom2d_Curve) BASISCURVE2D(const Handle(Geom2d_Curve)& C);

View File

@@ -71,8 +71,8 @@
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSXX(const Standard_Integer,const Standard_Integer);
extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
extern Standard_Boolean TopOpeBRepDS_GettraceSPSXX(const Standard_Integer,const Standard_Integer);
static TCollection_AsciiString PRODINS("dins ");
#endif

View File

@@ -48,7 +48,7 @@
#include <Standard_ProgramError.hxx>
#ifdef DEB
Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceKPB();
extern Standard_Boolean TopOpeBRepBuild_GettraceKPB();
#endif
static void FUN_Raise() {

View File

@@ -40,7 +40,7 @@
#include <BRepCheck_Result.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
extern Standard_Boolean TopOpeBRepBuild_GettraceSPS();
#endif
//------------
//static Standard_Integer ifvNbFace = 0;

View File

@@ -31,8 +31,8 @@
#include <TopExp.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceVC();
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceCLOV();
extern Standard_Boolean TopOpeBRepTool_GettraceVC();
extern Standard_Boolean TopOpeBRepTool_GettraceCLOV();
#endif
//=======================================================================

View File

@@ -33,7 +33,7 @@
#include <gp_Pnt.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceVC();
extern Standard_Boolean TopOpeBRepTool_GettraceVC();
#include <TopOpeBRepBuild_Builder.hxx>
#include <gp_Pnt.hxx>
#endif

View File

@@ -32,9 +32,9 @@
#include <TopOpeBRepDS_define.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOREGUSO();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextREGUXPU();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSAVSREGU();
extern Standard_Boolean TopOpeBRepBuild_GetcontextNOREGUSO();
extern Standard_Boolean TopOpeBRepBuild_GetcontextREGUXPU();
extern Standard_Boolean TopOpeBRepBuild_GettraceSAVSREGU();
Standard_EXPORT void debreguso(const Standard_Integer iS) {cout<<"++ debreguso "<<iS<<endl;}
#endif

View File

@@ -49,15 +49,15 @@
#define MGhc2 Handle(Geom2d_Curve)
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
extern Standard_Boolean TopOpeBRepBuild_GettraceSPS();
extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
Standard_EXPORT void debsplitse(const Standard_Integer) {}
Standard_EXPORT void debsplitsemess(const Standard_Integer i,const TCollection_AsciiString& s = "");
Standard_EXPORT void debsplitsemess(const Standard_Integer i,const TCollection_AsciiString& s){cout<<"+++ debsplitse "<<s<<" E"<<i<<endl;debsplitse(i);}
Standard_EXPORT void debspseou(const Standard_Integer i) {debsplitsemess(i,"OUT");}
Standard_EXPORT void debspsein(const Standard_Integer i) {debsplitsemess(i,"IN ");}
Standard_EXPORT void debspseon(const Standard_Integer i) {debsplitsemess(i,"ON ");}
Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceC2D();
extern Standard_Boolean TopOpeBRepTool_GettraceC2D();
#endif
#ifdef DRAW
@@ -651,49 +651,10 @@ void TopOpeBRepBuild_Builder::SplitSectionEdges()
mySplitSectionEdgesDone = Standard_True;
} // SplitSectionEdges
//Standard_IMPORT extern TopoDS_Shape GLOBALDS_shape1;
Standard_EXPORTEXTERN TopoDS_Shape GLOBALDS_shape1;
//Standard_IMPORT extern TopoDS_Shape GLOBALDS_shape2;
Standard_EXPORTEXTERN TopoDS_Shape GLOBALDS_shape2;
//unused
/*#ifdef DEB
static void FUN_removeonGB(const Handle(TopOpeBRepDS_HDataStructure)& HDS, const TopoDS_Edge& E)
{
// xpu041198 : removing interferences attached to bounds
// or vertices sdm to bounds of edge<EIX>
// (PRO16032, e3on)
TopOpeBRepDS_DataStructure& BDS = HDS->ChangeDS();
TopOpeBRepDS_ListOfInterference& LI = BDS.ChangeShapeInterferences(E);
TopOpeBRepDS_TKI tki; tki.FillOnGeometry(LI);
for (tki.Init(); tki.More(); tki.Next()) {
TopOpeBRepDS_Kind K; Standard_Integer G; tki.Value(K,G);
TopOpeBRepDS_ListOfInterference& loi = tki.ChangeValue(K,G);
if (K==TopOpeBRepDS_VERTEX) {
const TopoDS_Vertex& vG = TopoDS::Vertex(BDS.Shape(G));
Standard_Integer iv = FUN_tool_orientVinE(vG,E);
if (iv == 0) {
TopoDS_Shape oovG;
Standard_Boolean sdm = FUN_ds_getoov(vG,BDS,oovG);
iv = FUN_tool_orientVinE(TopoDS::Vertex(oovG),E);
}
Standard_Boolean isonboundE = (iv != 0);
if (isonboundE) loi.Clear();
}
}
LI.Clear();
for (tki.Init(); tki.More(); tki.Next()) {
TopOpeBRepDS_Kind K; Standard_Integer G; tki.Value(K,G);
TopOpeBRepDS_ListOfInterference& loi = tki.ChangeValue(K,G);
LI.Append(loi);
}
} // FUN_removeonGB
#endif*/
#define TheIN (1)
#define TheON (2)
#define TheOUT (3)
Standard_EXPORT Standard_Integer GLOBAL_issp = 0; //++
Standard_Integer GLOBAL_issp = 0; //++
#define HASSD2d (2)
#define HASSD3d (3)

View File

@@ -49,10 +49,6 @@
#define Mso Standard_Ostream
#define Mtcas TCollection_AsciiString
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
#endif
//=======================================================================
//function : TopOpeBRepBuild_ShapeListOfShape
//purpose :

View File

@@ -36,9 +36,9 @@ static TCollection_AsciiString PRODINS("dins ");
#endif
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHKOK();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHKNOK();
extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
extern Standard_Boolean TopOpeBRepBuild_GettraceCHKOK();
extern Standard_Boolean TopOpeBRepBuild_GettraceCHKNOK();
Standard_EXPORT void debaddss(){}
Standard_IMPORT TopOpeBRepBuild_Builder* LOCAL_PBUILDER_DEB;
#endif

View File

@@ -32,7 +32,7 @@
#include <BRepAdaptor_Surface.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
#endif
//=======================================================================

View File

@@ -31,7 +31,7 @@ static TCollection_AsciiString PRODINS("dins ");
#include <TopoDS.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
#endif
//=======================================================================

View File

@@ -56,7 +56,7 @@
#ifdef DEB
#define TSTRA TopOpeBRepDS_GettraceSTRANGE()
static TCollection_AsciiString PRODINS("dins ");
Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
#endif
//Standard_IMPORT extern TopOpeBRepBuild_Builder* GLOBAL_PBUILDER;

View File

@@ -49,11 +49,11 @@ static TCollection_AsciiString PRODINS("dins ");
#include <TopOpeBRepTool_2d.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceSHA(const Standard_Integer i);
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSS();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextSSCONNEX();
Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
Standard_EXPORT TopOpeBRepBuild_Builder* LOCAL_PBUILDER_DEB = NULL;
extern Standard_Boolean TopOpeBRep_GettraceSHA(const Standard_Integer i);
extern Standard_Boolean TopOpeBRepBuild_GettraceSS();
extern Standard_Boolean TopOpeBRepBuild_GetcontextSSCONNEX();
extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
TopOpeBRepBuild_Builder* LOCAL_PBUILDER_DEB = NULL;
void debwesclo(const Standard_Integer) {}
#endif

View File

@@ -35,11 +35,11 @@
Standard_EXPORT void debfctwes(const Standard_Integer /*i*/) {}
Standard_EXPORT void debfctwesmess(const Standard_Integer i,const TCollection_AsciiString& s = "")
{cout<<"+ + + debfctwes "<<s<<"F"<<i<<endl;debfctwes(i);}
Standard_EXPORT void debaddpwes(const Standard_Integer iFOR,const TopAbs_State TB1,const Standard_Integer iEG,const TopAbs_Orientation neworiE,
const TopOpeBRepBuild_PBuilder& PB,const TopOpeBRepBuild_PWireEdgeSet& PWES,const TCollection_AsciiString& str1,const TCollection_AsciiString& str2);
extern void debaddpwes(const Standard_Integer iFOR,const TopAbs_State TB1,const Standard_Integer iEG,const TopAbs_Orientation neworiE,
const TopOpeBRepBuild_PBuilder& PB,const TopOpeBRepBuild_PWireEdgeSet& PWES,const TCollection_AsciiString& str1,const TCollection_AsciiString& str2);
#endif
Standard_EXPORT Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
#define M_IN(st ) (st == TopAbs_IN)
#define M_OUT(st) (st == TopAbs_OUT)

View File

@@ -34,7 +34,7 @@ Standard_EXPORT void debffwesON(const Standard_Integer i);
Standard_EXPORT void debffwesk(const Standard_Integer i) {cout<<"++ debffwesk "<<i<<endl;}
#endif
Standard_EXPORT Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
#define M_IN(st ) (st == TopAbs_IN)
#define M_OUT(st) (st == TopAbs_OUT)

View File

@@ -23,8 +23,8 @@
#include <TopOpeBRepDS_define.hxx>
#ifdef DEB
Standard_IMPORT Standard_Integer GLOBAL_iexE;
Standard_IMPORT Standard_Integer GLOBAL_iexF;
extern Standard_Integer GLOBAL_iexE;
extern Standard_Integer GLOBAL_iexF;
Standard_Boolean STATIC_trace_iexE = Standard_False;
Standard_Boolean STATIC_trace_iexF = Standard_False;
Standard_EXPORT void debkeep(const Standard_Integer i) {cout<<"++ debkeep "<<i<<endl;}

View File

@@ -38,7 +38,7 @@
#include <Standard_ProgramError.hxx>
#ifdef DEB
Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceKPB();
extern Standard_Boolean TopOpeBRepBuild_GettraceKPB();
void debiskole() {}
#endif

View File

@@ -29,8 +29,8 @@
#include <TopOpeBRepBuild_define.hxx>
#ifdef DEB
Standard_IMPORT void debfillp(const Standard_Integer i);
Standard_EXPORT void debedbu(const Standard_Integer i) {cout<<"++ debedbu "<<i<<endl;}
extern void debfillp(const Standard_Integer i);
extern void debedbu(const Standard_Integer i) {cout<<"++ debedbu "<<i<<endl;}
#endif
#ifdef DRAW

View File

@@ -45,10 +45,10 @@
#ifdef DEB
Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOPURGE();
Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOCORRISO();
Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
extern Standard_Boolean TopOpeBRepBuild_GetcontextNOPURGE();
extern Standard_Boolean TopOpeBRepBuild_GetcontextNOCORRISO();
extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
#define DEBSHASET(sarg,meth,shaset,str) \
TCollection_AsciiString sarg((meth));(sarg)=(sarg)+(shaset).DEBNumber()+(str);
Standard_EXPORT void debgfabu(const Standard_Integer i) {cout<<"++ debgfabu "<<i<<endl;}
@@ -57,7 +57,7 @@ Standard_EXPORT Standard_Boolean DEBpurclo = Standard_False;
void debpurclo() {}
void debpurclomess(Standard_Integer i){cout<<"++ debpurclo "<<i<<endl;debpurclo();}
Standard_EXPORT void debcorriso(const Standard_Integer i) {cout<<"++ debcorriso "<<i<<endl;}
Standard_IMPORT void* GFABUMAKEFACEPWES_DEB;
extern void* GFABUMAKEFACEPWES_DEB;
#endif
#ifdef DRAW

View File

@@ -35,7 +35,7 @@
#include <TopOpeBRepBuild_define.hxx>
#ifdef DEB
Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
Standard_EXPORT void debgsobu(const Standard_Integer /*iSO*/) {}
#endif

View File

@@ -24,7 +24,7 @@
#include <TopOpeBRepBuild_BuilderON.hxx>
//Standard_IMPORT extern Standard_Boolean GLOBAL_faces2d;
Standard_EXPORTEXTERN Standard_Boolean GLOBAL_faces2d;
extern Standard_Boolean GLOBAL_faces2d;
//=======================================================================
//function : GFillONPartsWES