Version: 9.12.0
SMESH_DriverShape Class Reference

#include <SMESH_DriverShape.hxx>

Static Public Member Functions

static int importShape (const std::string shape_file, TopoDS_Shape &aShape)
 Import the content of a shape file into a TopDS_Shape object. More...
 
static int exportShape (const std::string shape_file, const TopoDS_Shape &aShape)
 Import the content of a shape file into a TopDS_Shape object. More...
 

Member Function Documentation

◆ exportShape()

int SMESH_DriverShape::exportShape ( const std::string  shape_file,
const TopoDS_Shape &  aShape 
)
static

Import the content of a shape file into a TopDS_Shape object.

Parameters
shape_filethe shape file
aShapethe object
Returns
error code

References exportBREPShape(), and exportSTEPShape().

◆ importShape()

int SMESH_DriverShape::importShape ( const std::string  shape_file,
TopoDS_Shape &  aShape 
)
static

Import the content of a shape file into a TopDS_Shape object.

Parameters
shape_filethe shape file
aShapethe object
Returns
error code

References importBREPShape(), and importSTEPShape().