Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeOffsetCurve2d::OdGeOffsetCurve2d Constructor (const OdGeCurve2d&, double, bool)
Syntax
C++
OdGeOffsetCurve2d(const OdGeCurve2d& baseCurve, double offsetDistance, bool makeCopy = false);

Sets the base curve pointer to baseCurve, and the offset distance to offsetDistance. 

 

Parameters
Description
baseCurve
[in] Any 2D curve to be set as the base curve.
offsetDistance
[in] Offset distance.
makeCopy
[in] If true, makes a copy of the base curve specified by the baseCurve parameter.

If makeCopy is true, the constructor makes a copy of the 2D curve entity specified by the baseCurve parameter. The OdGeOffsetCurve2d object that is being created becomes the owner of the newly made copy of the given 2D curve. The direction of the offset is determined by the sign of the offsetDistance parameter.

Copyright © 2002-2022. Open Design Alliance All rights reserved.