#include "RxModule.h"
#include "IfcBuildOptions.h"
#include "OdaCommon.h"
#include "DynamicLinker.h"
#include "daiModel.h"
Go to the source code of this file.
◆ addBrep2Model()
Adds brep object to the model as new shape representation. If shape representation is already create, adds IfcAdvancedBrep to it; otherwice creats new shape representation.
- Parameters
-
brep | [in] A brep object. |
pModel | [in] A raw pointer to the instance of the <link , OdIfcModel> class that represents the current model of the file. |
shapeId | [in/out] A placeholder for the identifier of the created shape representation object. If shapeId is zero creates new IfcProductDefinitionShape and sets it identifier. |
surfacesAsNurbs | [in] If parameter is true all surfaces crearted as a nurbs; otherwise surfaces crearted of the same type as in the brep if it posible. |
- Returns
- eOk if the shape representation object was successfully created; otherwise, the function returns an appropriate error code.