Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeCurve3d::convertTo2d Method
Syntax
C++
OdGeCurve2d* convertTo2d(const OdGeTol& tol = OdGeContext::gTol, bool sameParametrization = false) const;

Returns a pointer to the 2D variant of the curve (z-coordinate will be ignored). 

 

Parameters
Description
tol
[in] Tolerance used in case of interpolation.
sameParametrization
[in] Necessity of parametrization preserving during conversion.

If it is possible, than the curve will be converted analytically (i.e. 3D line segment becomes a 2D line segment, etc), otherwise it will be projected onto an XY-plane.

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