API Reference > OdDb Classes > OdDbCurve Class > OdDbCurve Methods > extend Method > OdDbCurve::extend Method (bool, OdGePoint3d&)
OdDbCurve::extend Method (bool, OdGePoint3d&)
Syntax
C++
virtual OdResult extend(bool extendStart, const OdGePoint3d& toPoint);
Parameters 
Description 
bool extendStart 
[in] True to extend start of curve, false to extend end of curve. 
const OdGePoint3d& toPoint 
[in] Point to which to extend.  

Returns eOk if successful, or an appropriate error code if not.

Extends this Curve object to the specified WCS point. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.