API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > convertTo3d Method > OdGeCurve2d::convertTo3d Method ()
OdGeCurve2d::convertTo3d Method ()
Syntax
C++
OdGeCurve3d* convertTo3d() const;

Pointer to the created 3D variant of the curve (z-coordinate equal to zero).

Creates a new 3D variant of the curve (z-coordinate equal to zero). 

 

For OdGeOffsetCurve a base curve will be created that should be MANUALLY deleted. See documentation about OdGeOffsetCurve.

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