1 // File: BREPExport.cxx
2 // Created: Wed May 19 13:10:05 2004
3 // Author: Pavel TELKOV
4 // <ptv@mutex.nnov.opencascade.com>
8 #include <BRepTools.hxx>
10 #include <TCollection_AsciiString.hxx>
11 #include <TopoDS_Shape.hxx>
14 #include <SALOME_WNT.hxx>
16 #define SALOME_WNT_EXPORT
19 //=============================================================================
23 //=============================================================================
28 int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
30 MESSAGE("Export BREP into file " << theFileName.ToCString());
32 if ( !BRepTools::Write( theShape, theFileName.ToCString() ) )