API Reference > Classes > Database 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-2020. Open Design Alliance. All rights reserved.