API Reference > Classes > PRC Curve Classes > OdPrc2dCurveOnSurfaceCurve3d Class > OdPrc2dCurveOnSurfaceCurve3d Methods > OdPrc2dCurveOnSurfaceCurve3d::setBaseSurface Method
OdPrc2dCurveOnSurfaceCurve3d::setBaseSurface Method
Syntax
C++
OdResult setBaseSurface(const OdPrcSurfacePtr & value);
Parameters 
Description 
const OdPrcSurfacePtr & value 
[in] A new surface to be set as the base surface, which is represented as a smart pointer to an OdPrcSurface. 

Returns eOk if a new surface was successfully set or an appropriate error code in the other case.

Sets a new base surface of the on-surface curve.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.