API Reference > Classes > Export Classes > TB_IFCEXPORT Namespace > Classes > GeometryUtil Class > GeometryUtil Methods > GeometryUtil::CreateCurveFromComponents Method
GeometryUtil::CreateCurveFromComponents Method
Syntax
C++
static OdDAIObjectId CreateCurveFromComponents(OdIfcModel* model, bool useSimpleBoundary, bool needToClose, const OdGePoint2dArray& pts, const OdDAIObjectIds& segments);
Parameters 
Description 
OdIfcModel* model 
[in] pointer to IFC model  
bool useSimpleBoundary 
[in] True to use simple boundary.  
bool needToClose 
[in] True if the curve needs to be close.  
const OdGePoint2dArray& pts 
[in] The polyline points.  
const OdDAIObjectIds& segments 
[in] The curve segments.
 

The created IFC curve.

Creates an IFC curve from polyline points or curve segments. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.