OdGeCurve2d* convertTo2d(constOdGeTol& tol = OdGeContext::gTol, boolsameParametrization = false) const;
Description
Returns a pointer to the 2D variant of the curve (z-coordinate will be ignored).
Parameters
Parameters
Description
tol
[in] Tolerance used in case of interpolation.
sameParametrization
[in] Necessity of parametrization preserving during conversion.
Remarks
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.