Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
IGESPlugin_ExportDriver.cxx File Reference
#include "IGESPlugin_ExportDriver.hxx"
#include "IGESPlugin_IExport.hxx"
#include <utilities.h>
#include <Basics_Utils.hxx>
#include "GEOM_Function.hxx"
#include <IGESControl_Controller.hxx>
#include <IGESControl_Writer.hxx>
#include <Interface_Static.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Iterator.hxx>

Functions

int KindOfBRep (const TopoDS_Shape &theShape)
 
 OCCT_IMPLEMENT_STANDARD_RTTIEXT (IGESPlugin_ExportDriver, GEOM_BaseDriver)
 

Function Documentation

int KindOfBRep ( const TopoDS_Shape &  theShape)

KindOfBRep

Returns
0 if theShape contains only simple entities (wires, edges and vertices), 1 if theShape contains only complex entities (shells, solids and compsolids) 2 if theShape contains only indifferent entities (faces) -1 if theShape contains both simple and complex entities (and in this case it cannot be saved without any loss neither in BRepMode == 0 nor in BRepMode == 1)
OCCT_IMPLEMENT_STANDARD_RTTIEXT ( IGESPlugin_ExportDriver  ,
GEOM_BaseDriver   
)