API Reference > OdGe Classes > OdGeOffsetCurve2d Class > OdGeOffsetCurve2d Methods > OdGeOffsetCurve2d::setCurve Method
OdGeOffsetCurve2d::setCurve Method
Syntax
C++
OdGeOffsetCurve2d& setCurve(const OdGeCurve2d& baseCurve, bool makeCopy = false);
Parameters 
Description 
const OdGeCurve2d& baseCurve 
[in] Any 2D curve to be set as the base curve.  
bool makeCopy = false 
[in] If true, makes a copy of the base curve specified by the baseCurve parameter. 

Sets the base curve for this OdGeOffsetCurve2d object. 

 

If makeCopy is true, the method makes a copy of the 2D curve entity specified by the baseCurve parameter. This OdGeOffsetCurve2d object becomes the owner of the newly made copy of the given 2D curve.

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