API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > OdGeCurve2d::restoreUvCurve Method
OdGeCurve2d::restoreUvCurve Method
Syntax
C++
static OdGeCurve2d* restoreUvCurve(const OdGeCurve3d* curve, const OdGeSurface* surface, const OdGeTol& tol = OdGeContext::gTol);
Parameters 
Description 
const OdGeCurve3d* curve 
[in] A 3d curve from which this curve is restored.  
const OdGeSurface* surface 
[in] Surface on which a restored curve lies.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance.
 

A 2d curve representing the projection of the 3d curve on the surface

Restore 2d parametric curve on surface from 3d curve. 

 

NULL is returned if projection failed.

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