API Reference > OdDg Classes > OdDgCurveElement2dPE Class > OdDgCurveElement2dPE Methods > extend Method > OdDgCurveElement2dPE::extend Method (OdDgCurveElement2d*, bool, OdGePoint2d&)
OdDgCurveElement2dPE::extend Method (OdDgCurveElement2d*, bool, OdGePoint2d&)
Syntax
C++
virtual OdResult extend(OdDgCurveElement2d* pCurve, bool extendStart, const OdGePoint2d& toPoint) = 0;
Parameters 
Description 
OdDgCurveElement2d* pCurve 
[in] Pointer to the curve to extend.  
bool extendStart 
[in] True to extend start of curve, false to extend end of curve. 
const OdGePoint2d& 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.