API Reference > Classes > Essential_Classes > OdBmCurveElem Class > OdBmCurveElem Methods > OdBmCurveElem::createLine Method
OdBmCurveElem::createLine Method
Syntax
C++
OdResult createLine(OdGePoint3d start, OdGePoint3d end);
Parameters 
Description 
OdGePoint3d start 
[in] Input start point.  
OdGePoint3d end 
[in] Input end point.
 

eOk if the operation completed successfully, or an appropriate error code otherwise.

Creates a straight line. 

 

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