API Reference > OdDg Classes > OdDgCurveElement3dPE Class > OdDgCurveElement3dPE Methods > extend Method > OdDgCurveElement3dPE::extend Method (OdDgCurveElement3d*, bool, OdGePoint3d&)
OdDgCurveElement3dPE::extend Method (OdDgCurveElement3d*, bool, OdGePoint3d&)
Syntax
C++
virtual OdResult extend(OdDgCurveElement3d* pCurve, bool extendStart, const OdGePoint3d& toPoint) = 0;
Parameters 
Description 
OdDgCurveElement3d* 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.