API Reference > OdDb Classes > OdDbCurvePE Class > OdDbCurvePE Methods > extend Method > OdDbCurvePE::extend Method (OdDbCurve*, bool, OdGePoint3d&)
OdDbCurvePE::extend Method (OdDbCurve*, bool, OdGePoint3d&)
Syntax
C++
virtual OdResult extend(OdDbCurve* pCurve, bool extendStart, const OdGePoint3d& toPoint) = 0;
Parameters 
Description 
OdDbCurve* pCurve 
[in] Pointer to the curve to extend.  
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 the specified Curve object to the specified WCS point. 

 

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