API Reference > Classes > PRC Surface Classes > OdPrcSurface Class > OdPrcSurface Methods > OdPrcSurface::setFromOdGeSurface Method
OdPrcSurface::setFromOdGeSurface Method
Syntax
C++
OdResult setFromOdGeSurface(const OdGeSurface& geSurface, const OdGeTol& tol = OdGeContext::gTol);
Parameters 
Description 
const OdGeSurface& geSurface 
[in] A surface entity to set surface data from.  
const OdGeTol& tol = OdGeContext::gTol 
[in] A topological context.
 

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

Sets new surface data from a surface entity. 

 

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