API Reference > OdGe Classes > OdGeSurfaceCurve2dTo3d Class > OdGeSurfaceCurve2dTo3d Constructor > OdGeSurfaceCurve2dTo3d::OdGeSurfaceCurve2dTo3d Constructor (OdGeCurve2d*, OdGeSurface*, OwnershipFlag)
OdGeSurfaceCurve2dTo3d::OdGeSurfaceCurve2dTo3d Constructor (OdGeCurve2d*, OdGeSurface*, OwnershipFlag)
Syntax
C++
OdGeSurfaceCurve2dTo3d(const OdGeCurve2d* pUvCurve, const OdGeSurface* pSurface, OwnershipFlag ownership);
Parameters 
Description 
const OdGeCurve2d* pUvCurve 
[in] A uv-curve on a pSurface.  
const OdGeSurface* pSurface 
[in] A surface that generates a 3d curve.  
OwnershipFlag ownership 
[in] A curve and surface ownership type. 

A constructor. Creates an OdGeSurfaceCurve2dTo3d object with the specified type of curve and surface ownership. 

 

Beware: pUvCurve or pSurface objects can be modified when passed with kCurveOwn/kCurveReference or kSurfaceOwn/kSurfaceReference flags. Does not call non-const methods to keep the original state of pUvCurve and pSurface objects! 

Throws an exception if at least one of the pUvCurve or pSurface ojbects is NULL or the ownership type isn't a combination of kCurve* and kSurface* values from the OwnershipFlag enum.

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