Standard_IMPORT removed or replaced by 'export' where it applies to a symbol defined in the same toolkit
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GetcontextNOSEW();
+extern Standard_Boolean TopOpeBRepTool_GetcontextNOSEW();
#endif
#define Opecom(st1,st2) (((st1)==TopAbs_IN) && ((st2)==TopAbs_IN))
//modified by NIZHNY-MZV Wed Apr 19 17:19:11 2000
//see comments at the top of file TopOpeBRepBuild_Builder1.cxx
//about using of this global variable
-Standard_IMPORT Standard_Boolean GLOBAL_USE_NEW_BUILDER;
+extern Standard_Boolean GLOBAL_USE_NEW_BUILDER;
//
//modified by NIZNHY-PKV Sun Dec 15 17:17:56 2002 f
-Standard_IMPORT void FDSCNX_Close();// see TopOpeBRepDS_connex.cxx
-Standard_IMPORT void FDSSDM_Close();// see TopOpeBRepDS_samdom.cxx
+extern void FDSCNX_Close();// see TopOpeBRepDS_connex.cxx
+extern void FDSSDM_Close();// see TopOpeBRepDS_samdom.cxx
//=======================================================================
//function : Delete
//modified by NIZNHY-PKV Thu Mar 21 17:30:29 2002 t
#ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
#endif
static void Descendants(const TopoDS_Shape&,
#include <TopAbs.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
#endif
static void MajMap(const TopoDS_Shape&,
//#include <DbgTools.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEATRIB();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEATRIB();
#endif
static void MajMap(const TopoDS_Shape&, // base
#include <BRepBndLib.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
#endif
static void MajMap(const TopoDS_Shape&, // base
#include <Geom_Plane.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
#endif
static void MajMap(const TopoDS_Shape&, // base
#include <ElCLib.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
#endif
static void MajMap(const TopoDS_Shape&, // base
#include <GeomLProp_CLProps.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEATRIB();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEATRIB();
#endif
static void MajMap(const TopoDS_Shape&, // base
#ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEATRIB();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEATRIB();
#endif
//=======================================================================
#include <OSD_Chronometer.hxx>
// variables for performance
Standard_Real t_mkcurve;
-//Standard_IMPORT extern void ChFi3d_InitChron(OSD_Chronometer& ch);
-Standard_EXPORT void ChFi3d_InitChron(OSD_Chronometer& ch);
-//Standard_IMPORT extern void ChFi3d_ResultChron(OSD_Chronometer & ch,
-Standard_IMPORT void ChFi3d_ResultChron(OSD_Chronometer & ch,
- Standard_Real& time);
+extern void ChFi3d_InitChron(OSD_Chronometer& ch);
+extern void ChFi3d_ResultChron(OSD_Chronometer & ch, Standard_Real& time);
#ifdef DRAW
static Standard_Boolean Affich = Standard_False;
static char name[100];
t_t3cornerinit ,t_spherique,t_torique, t_notfilling,t_filling,t_sameparam,
t_computedata,t_completedata,t_t2cornerDS,t_t3cornerDS;
-//Standard_IMPORT extern void ChFi3d_InitChron(OSD_Chronometer& ch);
-Standard_IMPORT void ChFi3d_InitChron(OSD_Chronometer& ch);
-//Standard_IMPORT extern void ChFi3d_ResultChron(OSD_Chronometer & ch,
-Standard_IMPORT void ChFi3d_ResultChron(OSD_Chronometer & ch,
- Standard_Real& time);
+extern void ChFi3d_InitChron(OSD_Chronometer& ch);
+extern void ChFi3d_ResultChron(OSD_Chronometer & ch, Standard_Real& time);
extern Standard_Boolean ChFi3d_GettraceCHRON();
#endif
#include <DrawTrSurf.hxx>
#endif
#include <OSD_Chronometer.hxx>
-//Standard_IMPORT extern Standard_Real t_perfsetofkpart,t_perfsetofkgen,
-Standard_IMPORT Standard_Real t_perfsetofkpart,t_perfsetofkgen,
-t_makextremities,t_performsurf,t_startsol;
-//Standard_IMPORT extern Standard_Boolean ChFi3d_GettraceCHRON();
-Standard_IMPORT Standard_Boolean ChFi3d_GettraceCHRON();
-//Standard_IMPORT extern void ChFi3d_InitChron(OSD_Chronometer& ch);
-Standard_IMPORT void ChFi3d_InitChron(OSD_Chronometer& ch);
-//Standard_IMPORT extern void ChFi3d_ResultChron(OSD_Chronometer & ch,
-Standard_IMPORT void ChFi3d_ResultChron(OSD_Chronometer & ch,
- Standard_Real& time);
+extern Standard_Real t_perfsetofkpart,t_perfsetofkgen,t_makextremities,t_performsurf,t_startsol;
+extern Standard_Boolean ChFi3d_GettraceCHRON();
+extern void ChFi3d_InitChron(OSD_Chronometer& ch);
+extern void ChFi3d_ResultChron(OSD_Chronometer & ch, Standard_Real& time);
#endif
// Modified by Sergey KHROMOV - Fri Dec 21 17:08:19 2001 Begin
#include <Standard_ConstructionError.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
#endif
#define NECHANT 7 // voir BRepFeat.cxx
TestTopOpeDraw::AllCommands(theCommands);
}
-//Standard_IMPORT extern TestTopOpe_HDSDisplayer* PHDSD;
-Standard_IMPORT TestTopOpe_HDSDisplayer* PHDSD;
-//Standard_IMPORT extern TestTopOpe_BOOP* PBOOP;
-Standard_IMPORT TestTopOpe_BOOP* PBOOP;
+extern TestTopOpe_HDSDisplayer* PHDSD;
+extern TestTopOpe_BOOP* PBOOP;
//=======================================================================
//function : Shapes
Standard_IMPORT Draw_Viewer dout;
#endif
-Standard_IMPORT Standard_Integer TOPOPE_SeeShape(char *name);
+extern Standard_Integer TOPOPE_SeeShape(char *name);
#ifdef DEB
#include <TopOpeBRepTool_KRO.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
-Standard_IMPORT void PrintKRO_PREPA();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern void PrintKRO_PREPA();
#endif
Standard_Integer TestTopOpe_BOOP::Prepare(const char* ns1,const char* ns2)
# include <strings.h>
#endif
-Standard_IMPORT void suppressarg(Standard_Integer& na,const char** a,const Standard_Integer d);
+extern void suppressarg(Standard_Integer& na,const char** a,const Standard_Integer d);
#ifdef DEB
-Standard_IMPORT void TopOpeBRepTool_SettraceEND(const Standard_Boolean);
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceEND();
+extern void TopOpeBRepTool_SettraceEND(const Standard_Boolean);
+extern Standard_Boolean TopOpeBRepTool_GettraceEND();
#endif
static const char* kboo[TESTTOPOPE_NKEYS] = {"topo","secc","sece","sec","com","c12","c21","fus"};
static TestTopOpe_BOOP LOCALBOOP(kboo, "r");
-Standard_EXPORT TestTopOpe_BOOP* PBOOP=&LOCALBOOP;
+TestTopOpe_BOOP* PBOOP=&LOCALBOOP;
void CATIND
(TCollection_AsciiString& s,const Standard_Integer I,const TCollection_AsciiString& a,const TCollection_AsciiString& b) {s=s+a+TCollection_AsciiString(I)+b;}
#define ISINTEGER(MMstr) ((strspn((MMstr),"0123456789") == strlen((MMstr))))
-Standard_EXPORT TestTopOpe_HDSDisplayer* PHDSD = NULL;
-Standard_EXPORT TestTopOpeDraw_Displayer* POCD = NULL;
+TestTopOpe_HDSDisplayer* PHDSD = NULL;
+static TestTopOpeDraw_Displayer* POCD = NULL;
//Standard_IMPORT extern Standard_Integer TopOpeBRepDS_GLOBALHDSinterfselector;
Standard_IMPORT Standard_Integer TopOpeBRepDS_GLOBALHDSinterfselector;
//-----------------------------------------------------------------------
// suppressarg : remove a[d],modify na--
//-----------------------------------------------------------------------
-Standard_EXPORT void suppressarg(Standard_Integer& na,const char** a,const Standard_Integer d)
+void suppressarg(Standard_Integer& na,const char** a,const Standard_Integer d)
{
for(Standard_Integer i=d;i<na;i++) {
a[i]=a[i+1];
}
typedef Standard_Integer (*tf_SeeShape)(const Standard_Integer I,const TopoDS_Shape& S);
-Standard_IMPORT void OthersCommands_flags(Standard_Integer& na,const char** a,TestTopOpeDraw_Displayer& TD);
+extern void OthersCommands_flags(Standard_Integer& na,const char** a,TestTopOpeDraw_Displayer& TD);
void COUTNOHDS(Draw_Interpretor& di) {di<<"no current HDS"<<"\n";}
Standard_Integer tsee_SeeShapefunc(Draw_Interpretor& di,Standard_Integer na_in,const char** a,tf_SeeShape SeeShapefunc)
{
#ifdef DEB
#include <TopOpeBRepTool_KRO.hxx>
-//Standard_IMPORT extern TOPKRO KRO_DSFILLER_TOTAL;
Standard_IMPORT TOPKRO KRO_DSFILLER_TOTAL;
-//Standard_IMPORT extern TOPKRO KRO_DSFILLER_INTFF;
Standard_IMPORT TOPKRO KRO_DSFILLER_INTFF;
-//Standard_IMPORT extern TOPKRO KRO_DSFILLER_INTEE;
Standard_IMPORT TOPKRO KRO_DSFILLER_INTEE;
-//Standard_IMPORT extern TOPKRO KRO_DSFILLER_INTFE;
Standard_IMPORT TOPKRO KRO_DSFILLER_INTFE;
-//Standard_IMPORT extern TOPKRO KRO_CURVETOOL_APPRO;
void PrintKRO_PREPA() {
KRO_DSFILLER_TOTAL.Print(cout); cout<<endl;
KRO_DSFILLER_INTFF.Print(cout); cout<<endl;
}
//-----------------------------------------------------------------------
-Standard_EXPORT void OthersCommands_flags(Standard_Integer& na,const char** a,TestTopOpeDraw_Displayer& TD)
+void OthersCommands_flags(Standard_Integer& na,const char** a,TestTopOpeDraw_Displayer& TD)
//-----------------------------------------------------------------------
{
Standard_Integer i,j,l,dloc = 0,iloc,decal = 0, NbArg = na;
#include <TopOpeBRepDS_ShapeWithState.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
-Standard_IMPORT void BREP_sortonparameter(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
-Standard_IMPORT void BREP_mergePDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
+extern void BREP_sortonparameter(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
+extern void BREP_mergePDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
#ifdef DEB
#include <TopOpeBRepTool_KRO.hxx>
Standard_EXPORT TOPKRO KRO_DSFILLER_TOTAL("dsfiller");
-Standard_IMPORT TOPKRO KRO_DSFILLER_INTFF;
-Standard_IMPORT TOPKRO KRO_DSFILLER_INTEE;
-Standard_IMPORT TOPKRO KRO_DSFILLER_INTFE;
+extern TOPKRO KRO_DSFILLER_INTFF;
+extern TOPKRO KRO_DSFILLER_INTEE;
+extern TOPKRO KRO_DSFILLER_INTFE;
static void FUN_RESET_KRO_DSFILLER()
{
KRO_DSFILLER_TOTAL.Reset();
#include <TopOpeBRep_traceSIFF.hxx>
#include <BRepTools.hxx>
-Standard_IMPORT TopOpeBRep_traceSIFF SIFF;
+extern TopOpeBRep_traceSIFF SIFF;
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceSIFF();
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceEND();
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceSHA(const Standard_Integer);
-Standard_IMPORT Standard_Boolean TopOpeBRep_GetcontextNONOG();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRep_GettraceSIFF();
+extern Standard_Boolean TopOpeBRepTool_GettraceEND();
+extern Standard_Boolean TopOpeBRep_GettraceSHA(const Standard_Integer);
+extern Standard_Boolean TopOpeBRep_GetcontextNONOG();
#endif
//=======================================================================
} // FUN_shareNOG
-Standard_IMPORT TopoDS_Shape GLOBALDS_shape1;
-Standard_IMPORT TopoDS_Shape GLOBALDS_shape2;
-
//=======================================================================
//function : Insert
//purpose :
FBOX_Prepare();
FC2D_Prepare(aS1,aS2);
- GLOBALDS_shape1 = aS1;
- GLOBALDS_shape2 = aS2;
-
if (myPShapeClassifier == NULL) myPShapeClassifier = new TopOpeBRepTool_ShapeClassifier();
myFacesFiller.SetPShapeClassifier(myPShapeClassifier);
#ifdef DEB
#include <TopOpeBRepDS_reDEB.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceEDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceEEFF();
+extern Standard_Boolean TopOpeBRepDS_GettraceEDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRep_GettraceEEFF();
Standard_EXPORT void debefre(const Standard_Integer IE) {cout<<"+++ debefre E"<<IE<<endl;}
Standard_EXPORT void debposesd(void) {/*cout<<"+++ debposesd"<<endl;*/}
Standard_EXPORT void debposnesd(void) {cout<<"+++ debposnesd"<<endl;}
#include <TopOpeBRep_define.hxx>
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceNYI();
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceEDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettracePROEDG();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextTOL0();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextNOFEI();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceFITOL();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceEEFF();
-Standard_EXPORT void debeeff();
+extern Standard_Boolean TopOpeBRepTool_GettraceNYI();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRepDS_GettraceEDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRep_GettracePROEDG();
+extern Standard_Boolean TopOpeBRep_GetcontextTOL0();
+extern Standard_Boolean TopOpeBRep_GetcontextNOFEI();
+extern Standard_Boolean TopOpeBRep_GettraceFITOL();
+extern Standard_Boolean TopOpeBRep_GettraceEEFF();
+extern void debeeff();
#include <TopOpeBRepTool_KRO.hxx>
Standard_EXPORT TOPKRO KRO_DSFILLER_INTEE("intersection edge/edge");
#endif
#include <IntPatch_GLine.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFK();
static TCollection_AsciiString PRODINP("dinp ");
#endif
#include <gp_Vec.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
#endif
//-----------------------------------------------------------------------
#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
//=======================================================================
#ifdef DEB
#include <TopAbs.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceFITOL();
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceSAVFF();
+extern Standard_Boolean TopOpeBRep_GettraceFITOL();
+extern Standard_Boolean TopOpeBRep_GettraceSAVFF();
#include <TCollection_AsciiString.hxx>
#include <Standard_CString.hxx>
#include <BRepTools.hxx>
cout<<"FaceEdgeIntersector : "<<name_1<<","<<name_2<<endl;
BRepTools::Write(F1,name_1); BRepTools::Write(E,name_2);
}
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
#include <TopOpeBRepTool_KRO.hxx>
Standard_EXPORT TOPKRO KRO_DSFILLER_INTFE("intersection face/edge");
#endif
}
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFK();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
void debffsamdom(void){}
#endif
Standard_EXPORT void debrest(const Standard_Integer i) {cout<<"+ debrest "<<i<<endl;}
Standard_EXPORT void debrline() {cout<<"+ debrline"<<endl;}
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceCX(const Standard_Integer i);
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i);
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceISTO();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSP();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSLT();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceNVP(Standard_Integer a,Standard_Integer b,Standard_Integer c,Standard_Integer d,Standard_Integer e);
-Standard_IMPORT Standard_Boolean GLOBAL_bvpr;Standard_EXPORT void debvprmess(Standard_Integer f1,Standard_Integer f2,Standard_Integer il,Standard_Integer vp,Standard_Integer si);
-Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextNOPUNK();
+extern Standard_Boolean TopOpeBRepDS_GettraceCX(const Standard_Integer i);
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i);
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepDS_GettraceISTO();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSP();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFK();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSLT();
+extern Standard_Boolean TopOpeBRep_GettraceNVP(Standard_Integer a,Standard_Integer b,Standard_Integer c,Standard_Integer d,Standard_Integer e);
+extern Standard_Boolean GLOBAL_bvpr;
+extern void debvprmess(Standard_Integer f1,Standard_Integer f2,Standard_Integer il,Standard_Integer vp,Standard_Integer si);
+extern Standard_Boolean TopOpeBRep_GetcontextNOPUNK();
static void SSAVFF(const TopoDS_Shape& F1, const TopoDS_Shape& F2)
{
#ifdef DEB
#include <TopAbs.hxx>
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceFI();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceFITOL();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceSAVFF();
+extern Standard_Boolean TopOpeBRep_GettraceFI();
+extern Standard_Boolean TopOpeBRep_GettraceFITOL();
+extern Standard_Boolean TopOpeBRep_GettraceSAVFF();
-Standard_EXPORT Standard_Integer SAVFFi1 = 0;
-Standard_EXPORT Standard_Integer SAVFFi2 = 0;
+Standard_Integer SAVFFi1 = 0;
+Standard_Integer SAVFFi2 = 0;
static void SAVFF(const TopoDS_Face& F1,const TopoDS_Face& F2)
{
TCollection_AsciiString an1("SAVA");if (SAVFFi1) an1=an1+SAVFFi1;
cout<<"FaceIntersector : write "<<n1<<","<<n2<<endl;BRepTools::Write(F1,n1);BRepTools::Write(F2,n2);
}
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
#include <TopOpeBRepTool_KRO.hxx>
Standard_EXPORT TOPKRO KRO_DSFILLER_INTFF("intersection face/face");
#include <Standard_NotImplemented.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRep_GetcontextALWLNBP(Standard_Integer&);
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceCONIC();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRep_GetcontextALWLNBP(Standard_Integer&);
+extern Standard_Boolean TopOpeBRep_GettraceCONIC();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
#endif
//-----------------------------------------------------------------------
#include <TopOpeBRep_FFDumper.hxx>
#include <Geom_TrimmedCurve.hxx>
#include <Geom_Line.hxx>
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDEGEN();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceBIPS();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceDEGEN();
-Standard_EXPORT Standard_Boolean FUN_debnull(const TopoDS_Shape& s){Standard_Boolean isnull = s.IsNull(); if (isnull) cout <<"***"; return isnull;}
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRepDS_GettraceDEGEN();
+extern Standard_Boolean TopOpeBRep_GettraceBIPS();
+extern Standard_Boolean TopOpeBRep_GettraceDEGEN();
+extern Standard_Boolean FUN_debnull(const TopoDS_Shape& s){Standard_Boolean isnull = s.IsNull(); if (isnull) cout <<"***"; return isnull;}
#endif
//Standard_EXPORT extern Standard_Real GLOBAL_tolFF;
#include <TopTools_MapOfShape.hxx>
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFK();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
#endif
Standard_EXPORT Standard_Boolean FUN_EqualponR(const TopOpeBRep_LineInter& Lrest,
#include <TopOpeBRep_define.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceSI();
-Standard_IMPORT Standard_Boolean TopOpeBRep_GetcontextFFOR();
-Standard_IMPORT Standard_Integer SAVFFi1; // FacesIntersector
-Standard_IMPORT Standard_Integer SAVFFi2; // FacesIntersector
-Standard_IMPORT void TopOpeBRep_SettraceEEFF(const Standard_Boolean b);
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceEEFF(const Standard_Integer e1,const Standard_Integer e2,const Standard_Integer f1,const Standard_Integer f2);
+extern Standard_Boolean TopOpeBRep_GettraceSI();
+extern Standard_Boolean TopOpeBRep_GetcontextFFOR();
+extern Standard_Integer SAVFFi1; // FacesIntersector
+extern Standard_Integer SAVFFi2; // FacesIntersector
+extern void TopOpeBRep_SettraceEEFF(const Standard_Boolean b);
+extern Standard_Boolean TopOpeBRep_GettraceEEFF(const Standard_Integer e1,const Standard_Integer e2,const Standard_Integer f1,const Standard_Integer f2);
void seteeff(const Standard_Boolean b,const Standard_Integer e1,const Standard_Integer e2, const Standard_Integer f1,const Standard_Integer f2)
{cout<<"b,e1,e2,f1,f2 : "<<b<<" "<<e1<<","<<e2<<","<<f1<<","<<f2<<endl;TopOpeBRep_SettraceEEFF(b);}
void seteefft(const Standard_Integer e1,const Standard_Integer e2, const Standard_Integer f1,const Standard_Integer f2) {seteeff(Standard_True,e1,e2,f1,f2);}
#include <TopOpeBRep_define.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFK();
static TCollection_AsciiString PRODINP("dinp ");
#endif
#include <TopOpeBRepDS_define.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRep_GetcontextNEWKP();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRep_GetcontextNEWKP();
#endif
// VP<STATIC_lastVPind> is the vp on which was computed the last CPI.
} // FUNBREP_topowalki_new
#ifdef DEB
-Standard_IMPORT Standard_Boolean GLOBAL_bvpr;
+extern Standard_Boolean GLOBAL_bvpr;
Standard_EXPORT void debvpr2(void) {}
#endif
}
}
-Standard_EXPORT void BREP_mergePDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS)
+void BREP_mergePDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS)
{
TopOpeBRepDS_DataStructure& BDS = HDS->ChangeDS();
TopOpeBRepDS_CurveExplorer cex(BDS);if (!cex.More()) return;
}
//////////////////////////////////////////////////////////////////////////
-Standard_EXPORT TopOpeBRep_traceSIFF SIFF;
+TopOpeBRep_traceSIFF SIFF;
Standard_EXPORT void TopOpeBRep_SettraceSIFF(const Standard_Boolean b,
Standard_Integer n,char**a)
#define M_REVERSED(st) (st == TopAbs_REVERSED)
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceISTO();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSP();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i);
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceNVP(Standard_Integer a,Standard_Integer b,Standard_Integer c,Standard_Integer d,Standard_Integer e);
-Standard_EXPORT Standard_Boolean GLOBAL_bvpr = Standard_False;void debvpr(){};
-Standard_EXPORT void debvprmess(Standard_Integer f1,Standard_Integer f2,Standard_Integer il,Standard_Integer vp,Standard_Integer si)
+extern Standard_Boolean TopOpeBRepDS_GettraceISTO();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSP();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i);
+extern Standard_Boolean TopOpeBRep_GettraceNVP(Standard_Integer a,Standard_Integer b,Standard_Integer c,Standard_Integer d,Standard_Integer e);
+extern Standard_Boolean GLOBAL_bvpr = Standard_False;void debvpr(){};
+void debvprmess(Standard_Integer f1,Standard_Integer f2,Standard_Integer il,Standard_Integer vp,Standard_Integer si)
{cout<<"f1,f2,il,vp,si : "<<f1<<","<<f2<<","<<il<<","<<vp<<","<<si<<endl;cout.flush();debvpr();}
void debpoint(Standard_Integer i) {cout<<"+ debpoint"<<i<<endl;}
void debvertex(Standard_Integer i){cout<<"+ debvertex"<<i<<endl;}
#define M_REVERSED(st) (st == TopAbs_REVERSED)
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i1);
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i1);
Standard_EXPORT void debarc(const Standard_Integer i);
Standard_EXPORT void debooarc(const Standard_Integer i);
#endif
#ifdef DEB
void static FUN_debdegeneR() {}
void static FUN_debdegeneF() {}
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDEGEN();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDEGEN();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
Standard_EXPORT Standard_Boolean FUN_debnull(const TopoDS_Shape& s);
#endif
#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
//=======================================================================
#include <TopOpeBRepBuild_Loop.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceAREA();
+extern Standard_Boolean TopOpeBRepBuild_GettraceAREA();
#endif
//=======================================================================
#include <Standard_DomainError.hxx>
#include <TopAbs.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+#ifdef DEB
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+#endif
//=======================================================================
//function : TopOpeBRepBuild_AreaBuilder
#include <TopOpeBRepBuild_define.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCU();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCU();
#endif
//=======================================================================
#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
//=======================================================================
#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
//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
}
} // 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
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
//=======================================================================
#include <TopOpeBRepTool_FuseEdges.hxx>
#include <Standard_ProgramError.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOFE();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextNOFE();
#endif
//=======================================================================
#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
#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
#include <Precision.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceFUFA();
+extern Standard_Boolean TopOpeBRepBuild_GettraceFUFA();
#endif
static void GroupShape(TopTools_ListOfShape&,
#include <TopOpeBRepBuild_define.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextSPEON();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextSPEON();
#endif
//=======================================================================
#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);
//=======================================================================
#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;
#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;}
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)
//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);
#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);
#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
#include <Standard_ProgramError.hxx>
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceKPB();
+extern Standard_Boolean TopOpeBRepBuild_GettraceKPB();
#endif
static void FUN_Raise() {
#include <BRepCheck_Result.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSPS();
#endif
//------------
//static Standard_Integer ifvNbFace = 0;
#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
//=======================================================================
#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
#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
#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
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)
#define Mso Standard_Ostream
#define Mtcas TCollection_AsciiString
-#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
-#endif
-
//=======================================================================
//function : TopOpeBRepBuild_ShapeListOfShape
//purpose :
#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
#include <BRepAdaptor_Surface.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
#endif
//=======================================================================
#include <TopoDS.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
#endif
//=======================================================================
#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;
#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
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)
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)
#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;}
#include <Standard_ProgramError.hxx>
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceKPB();
+extern Standard_Boolean TopOpeBRepBuild_GettraceKPB();
void debiskole() {}
#endif
#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
#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;}
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
#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
#include <TopOpeBRepBuild_BuilderON.hxx>
//Standard_IMPORT extern Standard_Boolean GLOBAL_faces2d;
-Standard_EXPORTEXTERN Standard_Boolean GLOBAL_faces2d;
+extern Standard_Boolean GLOBAL_faces2d;
//=======================================================================
//function : GFillONPartsWES
#include <Geom2d_TrimmedCurve.hxx>
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceBUTO();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceTRPE();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSANTRAN();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRepDS_GettraceBUTO();
+extern Standard_Boolean TopOpeBRepDS_GettraceTRPE();
+extern Standard_Boolean TopOpeBRepDS_GettraceSANTRAN();
static void DUMPCURVES(const Handle(Geom_Curve)& C3D,const TopOpeBRepDS_Curve& C)
{
if ( !C3D.IsNull() ) {
//modified by NIZNHY-PKV Tue Oct 30 09:21:44 2001 t
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
#include <TCollection_AsciiString.hxx>
#include <TopOpeBRepDS.hxx>
#endif
-Standard_EXPORT TopoDS_Shape GLOBALDS_shape1;
-Standard_EXPORT TopoDS_Shape GLOBALDS_shape2;
-
//=======================================================================
//function : TopOpeBRepDS_DataStructure
//purpose :
#ifdef DEB
#include <TopOpeBRepDS_reDEB.hxx>
Standard_EXPORT void debredpnc(const Standard_Integer ie){cout<<"+++ debredpnc e"<<ie<<endl;}
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GetcontextNOPNC();
+extern Standard_Boolean TopOpeBRepDS_GetcontextNOPNC();
#endif
#define M_FORWARD(O) (O == TopAbs_FORWARD)
#ifdef DEB
#include <TopOpeBRepDS_reDEB.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
Standard_EXPORT void debse1(const Standard_Integer i) {cout<<"+ debse1 se"<<i<<endl;}
Standard_EXPORT void debse2(const Standard_Integer i) {cout<<"+ debse2 se"<<i<<endl;}
Standard_EXPORT void debse3(const Standard_Integer i) {cout<<"+ debse3 se"<<i<<endl;}
#define MDSkf TopOpeBRepDS_FACE
#ifdef DEB
-Standard_EXPORT void debrededg(const Standard_Integer I) {cout<<"+++ debrededg f"<<I<<endl;}
-Standard_EXPORT void debredfac(const Standard_Integer I) {cout<<"+++ debredfac f"<<I<<endl;}
+void debrededg(const Standard_Integer I) {cout<<"+++ debrededg f"<<I<<endl;}
+void debredfac(const Standard_Integer I) {cout<<"+++ debredfac f"<<I<<endl;}
void FUN_dumploiS(const TopoDS_Shape& SG,const TopOpeBRepDS_ListOfInterference& loi,const TopOpeBRepDS_DataStructure& BDS,TCollection_AsciiString str)
{
cout<<str<<" G : "<<BDS.Shape(SG)<<" S : ";
#endif
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePFI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
static Standard_Boolean FTRCF(const Standard_Integer F) {
Standard_Boolean b1 = TopOpeBRepDS_GettracePFI();
Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
#include <TopOpeBRepDS_define.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePFI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
static Standard_Boolean FTRCF(const Standard_Integer F) {
Standard_Boolean b1 = TopOpeBRepDS_GettracePFI();
Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
Standard_Boolean b3 = TopOpeBRepDS_GettraceSPSX(E);
return (b1 || b2 || b3);
}*/
-Standard_IMPORT void debredfac(const Standard_Integer I);
+extern void debredfac(const Standard_Integer I);
#endif
static Standard_Boolean STATIC_TOREVERSE = Standard_False; // xpu150498
#include <TopOpeBRepDS_ListIteratorOfListOfInterference.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
//unreferenced function, commented
/*static Standard_Boolean TRCE(const Standard_Integer EIX) {
Standard_Boolean b1 = TopOpeBRepDS_GettracePEI();
#include <TopOpeBRepDS_ProcessInterferencesTool.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePCI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettracePCI();
static Standard_Boolean TRCC() {
Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
Standard_Boolean b3 = TopOpeBRepDS_GettracePCI();
#include <TopOpeBRepDS_define.hxx>
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceEDPR();
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceEDPR();
static Standard_Boolean TRCE(const Standard_Integer SIX) {
Standard_Boolean b1 = TopOpeBRepDS_GettracePEI();
Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
#include <TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State.hxx>
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GetcontextNOPFI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePFI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GetcontextNOPFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
static Standard_Boolean TRCF(const Standard_Integer F) {
Standard_Boolean b1 = TopOpeBRepDS_GettracePFI();
Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
#include <Geom2d_Curve.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceGAP();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GetcontextNOGAP();
+extern Standard_Boolean TopOpeBRepDS_GettraceGAP();
+extern Standard_Boolean TopOpeBRepDS_GetcontextNOGAP();
#endif
//=======================================================================
#include <TopOpeBRepDS_CurvePointInterference.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceGAP();
+extern Standard_Boolean TopOpeBRepDS_GettraceGAP();
#endif
//=======================================================================
#include <TopOpeBRepDS_define.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceISTO();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceEDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSFD();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDEGEN();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePCI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceISTO();
+extern Standard_Boolean TopOpeBRepDS_GettraceEDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFD();
+extern Standard_Boolean TopOpeBRepDS_GettraceDEGEN();
+extern Standard_Boolean TopOpeBRepDS_GettracePCI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
static Standard_Boolean traceSTORE()
{
}
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
static Standard_Boolean TRC(const Standard_Integer SIX) {
Standard_Boolean b1 = TopOpeBRepDS_GettraceSTRANGE();
Standard_Boolean b2 = TopOpeBRepDS_GettraceSPSX(SIX);
#include <TopOpeBRepTool_SC.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceEDPR();
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceEDPR();
static Standard_Boolean TRCE(const Standard_Integer SIX) {
Standard_Boolean b1 = TopOpeBRepDS_GettracePEI();
Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
#define MAKEFEI(IJKLM) (Handle(TopOpeBRepDS_FaceEdgeInterference)::DownCast(IJKLM))
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GetcontextNOPFI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePFI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GetcontextNOPFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
static Standard_Boolean TRCF(const Standard_Integer F) {
Standard_Boolean b1 = TopOpeBRepDS_GettracePFI();
Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
Standard_Boolean b3 = TopOpeBRepDS_GettraceSPSX(F);
return (b1 || b2 || b3);
}
-Standard_EXPORT void debrededg(const Standard_Integer I);
-Standard_EXPORT void debredunkf(const Standard_Integer /*i*/){};
+static void debredunkf(const Standard_Integer /*i*/){};
#endif
Standard_EXPORT Standard_Boolean FUN_Parameters(const gp_Pnt& Pnt,const TopoDS_Shape& F,Standard_Real& u,Standard_Real& v);
#include <TopOpeBRepDS_EXPORT.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
static Standard_Boolean TRCE(const Standard_Integer EIX) {
Standard_Boolean b1 = TopOpeBRepDS_GettracePEI();
Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
//function : FDSCNX_Close
//purpose :
//=======================================================================
-Standard_EXPORT void FDSCNX_Close()
+void FDSCNX_Close()
{
if (GLOBAL_elf1) {
delete GLOBAL_elf1;
#ifdef DEB
#include <TopOpeBRepDS_reDEB.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GetcontextMKTONREG();
+extern Standard_Boolean TopOpeBRepDS_GetcontextMKTONREG();
#endif
//------------------------------------------------------
//function :FDSSDM_Close
//purpose :
//=======================================================================
-Standard_EXPORT void FDSSDM_Close()
+void FDSSDM_Close()
{
if (Gps1) {
delete Gps1;
#include <BRep_GCurve.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
+extern Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
Standard_EXPORT TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
Standard_EXPORT TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
#endif
#include <Geom_RectangularTrimmedSurface.hxx>
#include <BRep_Tool.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettracePCURV();
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceCHKBSPL();
-
#ifdef DEB
#include <TopOpeBRepTool_KRO.hxx>
TOPKRO KRO_CURVETOOL_APPRO("approximation");
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRepTool_GettracePCURV();
+extern Standard_Boolean TopOpeBRepTool_GettraceCHKBSPL();
#endif
//#define DRAW
//#define IFV
#include <BSplCLib.hxx>
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceFE();
+extern Standard_Boolean TopOpeBRepBuild_GettraceFE();
#endif
//=======================================================================
//Standard_EXPORT TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds, STATIC_CORR_mapeds;
Standard_EXPORT void debcorrUV(){};
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettracePURGE();
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
+extern Standard_Boolean TopOpeBRepTool_GettracePURGE();
+extern Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
#endif
// DEB
#include <gp_Pnt2d.hxx>
#ifdef DEB
-Standard_IMPORT void FUN_REINIT();
-Standard_IMPORT Standard_Integer FUN_addepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
-Standard_IMPORT Standard_Integer FUN_addcheckepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
-Standard_IMPORT Standard_Integer FUN_adds(const TopoDS_Shape& s);
-Standard_IMPORT void FUN_tool_trace(const Standard_Integer Index);
-Standard_IMPORT void FUN_tool_trace(const gp_Pnt2d p2d);
+extern void FUN_REINIT();
+extern Standard_Integer FUN_addepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
+extern Standard_Integer FUN_addcheckepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
+extern Standard_Integer FUN_adds(const TopoDS_Shape& s);
+extern void FUN_tool_trace(const Standard_Integer Index);
+extern void FUN_tool_trace(const gp_Pnt2d p2d);
#endif
// ----------------------------------------------------------------------
// TopOpeBRepTool_closing.cxx
#define CLOSING (5)
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceREGUSO();
+extern Standard_Boolean TopOpeBRepTool_GettraceREGUSO();
static TopTools_IndexedMapOfShape STATIC_mape, STATIC_mapf, STATIC_mapw, STATIC_mapsh;
static Standard_Integer FUN_adds(const TopoDS_Shape& s) {
TopAbs_ShapeEnum typ = s.ShapeType();
#define M_EXTERNAL(ori) (ori == TopAbs_EXTERNAL)
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceREGUFA();
+extern Standard_Boolean TopOpeBRepTool_GettraceREGUFA();
static TopTools_IndexedMapOfShape STATIC_mapf, STATIC_mapw, STATIC_mapv;
static TopTools_IndexedMapOfOrientedShape STATIC_mapeds;
void FUN_tro(const Standard_Integer i)
}
#endif
-Standard_IMPORT void FUN_tool_tori(const TopAbs_Orientation Or);
+extern void FUN_tool_tori(const TopAbs_Orientation Or);
void FUN_tool_Add(TopTools_DataMapOfShapeListOfShape& map,const TopoDS_Shape& key, const TopoDS_Shape& subitem)
{
#define M_EXTERNAL(sta) (sta == TopAbs_EXTERNAL)
#ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceREGUFA();
+extern Standard_Boolean TopOpeBRepTool_GettraceREGUFA();
static TopTools_IndexedMapOfShape STATIC_mapw,STATIC_mapf;
static Standard_Integer FUN_adds(const TopoDS_Shape& s) {
TopAbs_ShapeEnum typ = s.ShapeType();
#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceVC();
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceNYI();
+extern Standard_Boolean TopOpeBRepTool_GettraceVC();
+extern Standard_Boolean TopOpeBRepTool_GettraceNYI();
#endif
#endif
#ifdef DEB
-//Standard_IMPORT extern TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
-Standard_IMPORT TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
-//Standard_IMPORT extern TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
-Standard_IMPORT TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettracePURGE();
+extern TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
+extern TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
+extern Standard_Boolean TopOpeBRepTool_GettracePURGE();
Standard_EXPORT void FUN_REINIT()
{STATIC_PURGE_mapv.Clear(); STATIC_PURGE_mapeds.Clear();}
static void FUN_RaiseError()
extern Standard_Boolean VDisplayAISObject (const TCollection_AsciiString& theName,
const Handle(AIS_InteractiveObject)& theAISObj,
Standard_Boolean theReplaceIfExists = Standard_True);
-Standard_IMPORT int ViewerMainLoop(Standard_Integer argc, const char** argv);
+extern int ViewerMainLoop(Standard_Integer argc, const char** argv);
extern Handle(AIS_InteractiveContext)& TheAISContext();