API Reference > Classes > PRC Surface Classes > OdPrcSurface Class > OdPrcSurface Methods > OdPrcSurface::createFromOdGeSurface Method
OdPrcSurface::createFromOdGeSurface Method
Syntax
C++
static OdResult createFromOdGeSurface(const OdGeSurface& geSurface, OdPrcSurfacePtr& pPrcSurface, const OdGeTol& tol = OdGeContext::gTol);
Parameters 
Description 
const OdGeSurface& geSurface 
[in] OdGeSurface object reference to create from.  
OdPrcSurfacePtr& pPrcSurface 
[in/out] Pointer object to which the result will be written.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Tolerance.  

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

Creates new surface data from a OdGeSurface entity. 

 

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