Back to index

salome-geom  6.5.0
Defines | Functions
BREPExport.cxx File Reference
#include "utilities.h"
#include <BRepTools.hxx>
#include <TCollection_AsciiString.hxx>
#include <TopoDS_Shape.hxx>

Go to the source code of this file.




BREPEXPORT_EXPORT int Export (const TopoDS_Shape &theShape, const TCollection_AsciiString &theFileName)

Define Documentation

Definition at line 50 of file BREPExport.cxx.

Function Documentation

BREPEXPORT_EXPORT int Export ( const TopoDS_Shape &  theShape,
const TCollection_AsciiString &  theFileName 

Definition at line 62 of file BREPExport.cxx.

    MESSAGE("Export BREP into file " << theFileName.ToCString());

    if ( !BRepTools::Write( theShape, theFileName.ToCString() ) )
      return 0;

    return 1;

Here is the call graph for this function: