Version: 9.16.0
IGESPlugin_ExportDriver.cxx File Reference
#include "IGESPlugin_ExportDriver.hxx"
#include "IGESPlugin_IExport.hxx"
#include <utilities.h>
#include <Basics_Utils.hxx>
#include <Basics_OCCTVersion.hxx>
#include "GEOM_Function.hxx"
#include <IGESControl_Controller.hxx>
#include <IGESControl_Writer.hxx>
#include <IGESData_IGESModel.hxx>
#include <Interface_Static.hxx>
#include <XSAlgo.hxx>
#include <XSAlgo_AlgoContainer.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Iterator.hxx>
#include <UnitsMethods.hxx>

Functions

int KindOfBRep (const TopoDS_Shape &theShape)
 

Function Documentation

◆ KindOfBRep()

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)

References KindOfBRep().